Mercurial > hg > xemacs-beta
diff src/config.h.in @ 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 | 86d33ddc7fd6 |
children | 02d0124c6314 |
line wrap: on
line diff
--- 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_ */