summaryrefslogtreecommitdiff
path: root/PC/pyconfig.h
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-08-03 08:52:46 +0000
committerRaymond Hettinger <python@rcn.com>2004-08-03 08:52:46 +0000
commita8579a542212460a491ef6510c11535860effafe (patch)
tree8cadc9962ab7c7c8f8c8decfe5bd0d244990ff07 /PC/pyconfig.h
parent9959cebb50d215587ca5034e502c32aebce096d5 (diff)
downloadcpython-a8579a542212460a491ef6510c11535860effafe.tar.gz
Restore compilation on MSVC++ 6.0
Diffstat (limited to 'PC/pyconfig.h')
-rw-r--r--PC/pyconfig.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 2109d22959..495d90cfbf 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -267,10 +267,12 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
#define SIZEOF_LONG 4
#define SIZEOF_LONG_LONG 8
-/* Atleast VC 7.1 has them. If some compiler does not provide them,
- #ifdef appropriately .*/
+/* VC 7.1 has them and VC 6.0 does not. VC 6.0 has a version number of 1200.
+ If some compiler does not provide them, modify the #if appropriately. */
+#if _MSC_VER != 1200
#define HAVE_UINTPTR_T 1
#define HAVE_INTPTR_T 1
+#endif
#endif