summaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-06-30 22:17:53 +0000
committerGuido van Rossum <guido@python.org>2000-06-30 22:17:53 +0000
commitc8c0fe72aefa3134824f4061412e69c1b1b61dd9 (patch)
tree90e495acd3268faab5c1f03a99b7f8b77f0000a8 /PC
parenta304bae25d5039687334756ee9b8d1ea87bd5e4b (diff)
downloadcpython-c8c0fe72aefa3134824f4061412e69c1b1b61dd9.tar.gz
Only include <basetsd.h> for VC 6.0 and higher.
Diffstat (limited to 'PC')
-rw-r--r--PC/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/PC/config.h b/PC/config.h
index 850af584b0..f057a75654 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