Mercurial > hg > xemacs-beta
changeset 5730:4521c9dc64f6
Fix native windows build which sources an unmodified config.h.in
author | Vin Shelton <acs@xemacs.org> |
---|---|
date | Tue, 12 Mar 2013 17:14:44 -0400 |
parents | f7abcda06b1b |
children | ec3712ffd0e6 |
files | src/ChangeLog src/config.h.in |
diffstat | 2 files changed, 15 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- 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 <acs@xemacs.org> + + * config.h.in: Move large file support outside WIN32_NO_CONFIGURE block. + 2013-03-07 Jerry James <james@xemacs.org> * array.c (stack_like_malloc): Define only if WIN32_ANY.
--- 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 <sys/types.h> but the standard is <inttypes.h> @@ -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_ */