diff options
| author | Martin v. Löwis <martin@v.loewis.de> | 2004-10-15 04:26:18 +0000 |
|---|---|---|
| committer | Martin v. Löwis <martin@v.loewis.de> | 2004-10-15 04:26:18 +0000 |
| commit | 41767b457ee434ba15f7b3c4e63feaa22f967ae2 (patch) | |
| tree | 597081e8b74d72db5844acf3a23f8f6b8cf3903e /PC | |
| parent | 194fffda7b0dab55fa97b83275f87ca6b83ab61a (diff) | |
| download | cpython-41767b457ee434ba15f7b3c4e63feaa22f967ae2.tar.gz | |
Patch #1020042: Only define HAVE_UINTPTR_T for VC 7.x.
Diffstat (limited to 'PC')
| -rw-r--r-- | PC/pyconfig.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h index 4d1872ce0b..1979b7e023 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -273,10 +273,12 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */ /* 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 +#if defined(_MSC_VER) +#if _MSC_VER > 1200 #define HAVE_UINTPTR_T 1 #define HAVE_INTPTR_T 1 -#endif +#endif /* _MSC_VER > 1200 */ +#endif /* _MSC_VER */ #endif |
