# HG changeset patch # User Vin Shelton # Date 1363122884 14400 # Node ID 4521c9dc64f6666464fcb14a83d93df544b8dd61 # Parent f7abcda06b1b06a44cc586d91d5b919becf959cd Fix native windows build which sources an unmodified config.h.in diff -r f7abcda06b1b -r 4521c9dc64f6 src/ChangeLog --- a/src/ChangeLog Fri Mar 08 13:43:06 2013 -0700 +++ b/src/ChangeLog Tue Mar 12 17:14:44 2013 -0400 @@ -1,3 +1,7 @@ +2013-03-11 Vin Shelton + + * config.h.in: Move large file support outside WIN32_NO_CONFIGURE block. + 2013-03-07 Jerry James * array.c (stack_like_malloc): Define only if WIN32_ANY. diff -r f7abcda06b1b -r 4521c9dc64f6 src/config.h.in --- a/src/config.h.in Fri Mar 08 13:43:06 2013 -0700 +++ b/src/config.h.in Tue Mar 12 17:14:44 2013 -0400 @@ -761,15 +761,6 @@ /* Large file support */ #undef AC_FUNC_FSEEKO -#ifdef AC_FUNC_FSEEKO -# define OFF_T off_t -# define FSEEK(stream, offset, whence) fseeko (stream, offset, whence) -# define FTELL(stream) ftello (stream) -#else -# define OFF_T long -# define FSEEK(stream, offset, whence) fseek (stream, offset, whence) -# define FTELL(stream) ftell (stream) -#endif /* some systems (Cygwin) typedef u?intptr_t in but the standard is @@ -1187,4 +1178,15 @@ #define SUPPORT_CONFOUNDING_FUNCTIONS NEED_TO_HANDLE_21_4_CODE +/* Large file support */ +#ifdef AC_FUNC_FSEEKO +# define OFF_T off_t +# define FSEEK(stream, offset, whence) fseeko (stream, offset, whence) +# define FTELL(stream) ftello (stream) +#else +# define OFF_T long +# define FSEEK(stream, offset, whence) fseek (stream, offset, whence) +# define FTELL(stream) ftell (stream) +#endif + #endif /* _SRC_CONFIG_H_ */