summaryrefslogtreecommitdiffstats
path: root/PC/config.h
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-05-14 22:32:33 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-05-14 22:32:33 (GMT)
commit58e0a8c13015627b5cd4abff6563bef02532596c (patch)
tree7734b82cb756f5a4e534678d6b236b6fb51f5ab5 /PC/config.h
parent460f0691dff8e8f36b325a87f1af25ca6571ddad (diff)
downloadcpython-58e0a8c13015627b5cd4abff6563bef02532596c.zip
cpython-58e0a8c13015627b5cd4abff6563bef02532596c.tar.gz
cpython-58e0a8c13015627b5cd4abff6563bef02532596c.tar.bz2
SF patch #418147 Fixes to allow compiling w/ Borland, from Stephen Hansen.
Diffstat (limited to 'PC/config.h')
-rw-r--r--PC/config.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/PC/config.h b/PC/config.h
index f6ad9c1..e146469 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 */