]> granicus.if.org Git - python/commitdiff
Bug #1216: Restore support for Visual Studio 2002.
authorMartin v. Löwis <martin@v.loewis.de>
Fri, 12 Oct 2007 08:56:52 +0000 (08:56 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Fri, 12 Oct 2007 08:56:52 +0000 (08:56 +0000)
Will backport to 2.5.

Misc/NEWS
PC/pyconfig.h

index 99d9249f83bcb35d420ae9b31497be1f9c39dc73..f3a18d965dcb6ad253fa4ab8da91a5539f62829c 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1063,6 +1063,8 @@ Windows
 - Conditionalize definition of _CRT_SECURE_NO_DEPRECATE
   and _CRT_NONSTDC_NO_DEPRECATE.
 
+- Bug #1216: Restore support for Visual Studio 2002.
+
 
 Mac
 ---
index bdac0a67021bde4ca940560e305abb4ed6a620d4..27cb17fce790c29998ae4884c399920a4832b0ab 100644 (file)
@@ -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 */