parent
d689f33e04
commit
5e4b55d3bd
3
Changes
3
Changes
|
@ -120,6 +120,9 @@ Working version
|
|||
(Stephen Dolan, review by Gabriel Scherer, Sébastien Hinderer and
|
||||
Thomas Refis)
|
||||
|
||||
- #8843, #8841: fix use of off_t on 32-bit systems.
|
||||
(Stephen Dolan, report by Richard Jones, review by Xavier Leroy)
|
||||
|
||||
### Compiler user-interface and warnings:
|
||||
|
||||
- #8702, #8777: improved error messages for fixed row polymorphic variants
|
||||
|
|
|
@ -12784,8 +12784,6 @@ _ACEOF
|
|||
|
||||
fi
|
||||
|
||||
$as_echo "#define HAS_OFF_T 1" >>confdefs.h
|
||||
|
||||
|
||||
# Checks for structures
|
||||
|
||||
|
|
|
@ -684,7 +684,6 @@ AC_CHECK_HEADER([sys/select.h], [AC_DEFINE([HAS_SYS_SELECT_H])], [],
|
|||
|
||||
## off_t
|
||||
AC_TYPE_OFF_T
|
||||
AC_DEFINE([HAS_OFF_T])
|
||||
|
||||
# Checks for structures
|
||||
|
||||
|
|
|
@ -29,11 +29,9 @@
|
|||
|
||||
#if defined(_WIN32)
|
||||
typedef __int64 file_offset;
|
||||
#elif defined(HAS_OFF_T)
|
||||
#else
|
||||
#include <sys/types.h>
|
||||
typedef off_t file_offset;
|
||||
#else
|
||||
typedef long file_offset;
|
||||
#endif
|
||||
|
||||
struct channel {
|
||||
|
|
Loading…
Reference in New Issue