]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Backport of Tim's checkin 1.52:
authorThomas Wouters <thomas@python.org>
Wed, 27 Jun 2001 13:05:05 +0000 (13:05 +0000)
committerThomas Wouters <thomas@python.org>
Wed, 27 Jun 2001 13:05:05 +0000 (13:05 +0000)
SF patch #418147 Fixes to allow compiling w/ Borland, from Stephen Hansen.

PC/config.h

index f26d0e47bf218d3e9da6d3c9560281a633dd76ee..13d8a47d15a26aa862610c3ef506269990484ffc 100644 (file)
@@ -36,6 +36,7 @@ compiler specific".  Therefore, these should be very rare.
 
 #include <io.h>
 #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 <sys/utime.h> header file.  */
-#define HAVE_SYS_UTIME_H 1
+/* #define HAVE_SYS_UTIME_H 1 */
 
 /* Define if you have the <sys/utsname.h> header file.  */
 /* #define HAVE_SYS_UTSNAME_H 1 */