summaryrefslogtreecommitdiffstats
path: root/PC/config.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-06-30 22:17:53 (GMT)
committerGuido van Rossum <guido@python.org>2000-06-30 22:17:53 (GMT)
commit361b583e88a260553418aaf5f5b00f31cc5ce5fb (patch)
tree868b05e6600b829200e9b664c2f916dbb637e594 /PC/config.h
parentef7bae6b2f7ba194dee32a04cc4d85675ce940b5 (diff)
downloadcpython-361b583e88a260553418aaf5f5b00f31cc5ce5fb.zip
cpython-361b583e88a260553418aaf5f5b00f31cc5ce5fb.tar.gz
cpython-361b583e88a260553418aaf5f5b00f31cc5ce5fb.tar.bz2
Only include <basetsd.h> for VC 6.0 and higher.
Diffstat (limited to 'PC/config.h')
-rw-r--r--PC/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/PC/config.h b/PC/config.h
index 850af58..f057a75 100644
--- a/PC/config.h
+++ b/PC/config.h
@@ -243,7 +243,9 @@ typedef int pid_t;
/* define the ANSI intptr_t type for portable use of a pointer sized
integer */
+#if _MSC_VER >= 1200 /* This file only exists in VC 6.0 or higher */
#include <basetsd.h>
+#endif
#if defined(MS_WINDOWS) && !defined(MS_WIN64)
typedef long intptr_t;
#endif