From: Thomas Wouters Date: Wed, 27 Jun 2001 13:05:05 +0000 (+0000) Subject: Backport of Tim's checkin 1.52: X-Git-Tag: v2.1.1c1~57 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cf547e1b9beae7e160cef47d32f0643a9f0f70d6;p=thirdparty%2FPython%2Fcpython.git Backport of Tim's checkin 1.52: SF patch #418147 Fixes to allow compiling w/ Borland, from Stephen Hansen. --- diff --git a/PC/config.h b/PC/config.h index f26d0e47bf21..13d8a47d15a2 100644 --- a/PC/config.h +++ b/PC/config.h @@ -36,6 +36,7 @@ compiler specific". Therefore, these should be very rare. #include #define HAVE_LIMITS_H +#define HAVE_SYS_UTIME_H #define HAVE_HYPOT #define DONT_HAVE_SIG_ALARM #define DONT_HAVE_SIG_PAUSE @@ -177,6 +178,10 @@ typedef int pid_t; #define LONG_LONG __int64 #else /* !_WIN32 */ +#undef HAVE_SYS_UTIME_H +#define HAVE_UTIME_H +#define HAVE_DIRENT_H +#define HAVE_CLOCK #error "Only Win32 and later are supported" #endif /* !_WIN32 */ @@ -591,7 +596,7 @@ typedef unsigned long uintptr_t; /* #define HAVE_SYS_UN_H 1 */ /* Define if you have the header file. */ -#define HAVE_SYS_UTIME_H 1 +/* #define HAVE_SYS_UTIME_H 1 */ /* Define if you have the header file. */ /* #define HAVE_SYS_UTSNAME_H 1 */