comparison 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
comparison
equal deleted inserted replaced
5729:f7abcda06b1b 5730:4521c9dc64f6
759 #undef SIZEOF_DOUBLE 759 #undef SIZEOF_DOUBLE
760 #undef SIZEOF_OFF_T 760 #undef SIZEOF_OFF_T
761 761
762 /* Large file support */ 762 /* Large file support */
763 #undef AC_FUNC_FSEEKO 763 #undef AC_FUNC_FSEEKO
764 #ifdef AC_FUNC_FSEEKO
765 # define OFF_T off_t
766 # define FSEEK(stream, offset, whence) fseeko (stream, offset, whence)
767 # define FTELL(stream) ftello (stream)
768 #else
769 # define OFF_T long
770 # define FSEEK(stream, offset, whence) fseek (stream, offset, whence)
771 # define FTELL(stream) ftell (stream)
772 #endif
773 764
774 /* some systems (Cygwin) typedef u?intptr_t in <sys/types.h> 765 /* some systems (Cygwin) typedef u?intptr_t in <sys/types.h>
775 but the standard is <inttypes.h> 766 but the standard is <inttypes.h>
776 ugliness due to last-resort conditional typedef'ing in lisp.h */ 767 ugliness due to last-resort conditional typedef'ing in lisp.h */
777 #undef HAVE_INTPTR_T_IN_SYS_TYPES_H 768 #undef HAVE_INTPTR_T_IN_SYS_TYPES_H
1185 /* Do we need to be able to run code compiled by and written for 21.4? */ 1176 /* Do we need to be able to run code compiled by and written for 21.4? */
1186 #define NEED_TO_HANDLE_21_4_CODE 1 1177 #define NEED_TO_HANDLE_21_4_CODE 1
1187 1178
1188 #define SUPPORT_CONFOUNDING_FUNCTIONS NEED_TO_HANDLE_21_4_CODE 1179 #define SUPPORT_CONFOUNDING_FUNCTIONS NEED_TO_HANDLE_21_4_CODE
1189 1180
1181 /* Large file support */
1182 #ifdef AC_FUNC_FSEEKO
1183 # define OFF_T off_t
1184 # define FSEEK(stream, offset, whence) fseeko (stream, offset, whence)
1185 # define FTELL(stream) ftello (stream)
1186 #else
1187 # define OFF_T long
1188 # define FSEEK(stream, offset, whence) fseek (stream, offset, whence)
1189 # define FTELL(stream) ftell (stream)
1190 #endif
1191
1190 #endif /* _SRC_CONFIG_H_ */ 1192 #endif /* _SRC_CONFIG_H_ */