summaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-05-14 22:32:33 +0000
committerTim Peters <tim.peters@gmail.com>2001-05-14 22:32:33 +0000
commit8e5423c4fc318fb9f74743e24e947c2ed79906c1 (patch)
tree6e1224e56179705dac7058d0f612af2a9da4d219 /PC
parent6e64fc6a4a18f31068f76c93651134eb73836cc0 (diff)
downloadcpython-8e5423c4fc318fb9f74743e24e947c2ed79906c1.tar.gz
SF patch #418147 Fixes to allow compiling w/ Borland, from Stephen Hansen.
Diffstat (limited to 'PC')
-rw-r--r--PC/config.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/PC/config.h b/PC/config.h
index f6ad9c13d1..e146469c36 100644
--- a/PC/config.h
+++ b/PC/config.h
@@ -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
#undef HAVE_HYPOT
+#undef HAVE_SYS_UTIME_H
+#define HAVE_UTIME_H
+#define HAVE_DIRENT_H
+#define HAVE_CLOCK
#else /* !_WIN32 */
#error "Only Win32 and later are supported"
@@ -593,7 +598,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 */