summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2007-10-12 08:56:52 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2007-10-12 08:56:52 (GMT)
commitd476a400b4d99d358b817bfe7229d0085f50e597 (patch)
tree4995bd50fd2a1193cf0d79202239d2613401a45c /PC
parentf3ca169bb4a95defc032a3675c497c64f2a7236a (diff)
downloadcpython-d476a400b4d99d358b817bfe7229d0085f50e597.zip
cpython-d476a400b4d99d358b817bfe7229d0085f50e597.tar.gz
cpython-d476a400b4d99d358b817bfe7229d0085f50e597.tar.bz2
Bug #1216: Restore support for Visual Studio 2002.
Will backport to 2.5.
Diffstat (limited to 'PC')
-rw-r--r--PC/pyconfig.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index bdac0a6..27cb17f 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -377,11 +377,11 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
define these.
If some compiler does not provide them, modify the #if appropriately. */
#if defined(_MSC_VER)
-#if _MSC_VER > 1201
+#if _MSC_VER > 1300
#define HAVE_UINTPTR_T 1
#define HAVE_INTPTR_T 1
#else
-/* VC6 & eVC4 don't support the C99 LL suffix for 64-bit integer literals */
+/* VC6, VS 2002 and eVC4 don't support the C99 LL suffix for 64-bit integer literals */
#define Py_LL(x) x##I64
#endif /* _MSC_VER > 1200 */
#endif /* _MSC_VER */