]> 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:58:48 +0000 (08:58 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Fri, 12 Oct 2007 08:58:48 +0000 (08:58 +0000)
Misc/NEWS
PC/pyconfig.h

index 76f25d4bd369999aa5a484864ed4b774b94c6692..8642f2a23f6530328f98e5ae9a18bb87ceec3e65 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -151,6 +151,11 @@ Build
 - Makefile.pre.in(buildbottest): Run an optional script pybuildbot.identify
   to include some information about the build environment.
 
+Windows
+-------
+
+- Bug #1216: Restore support for Visual Studio 2002.
+
 What's New in Python 2.5.1?
 =============================
 
index 397b67b6eceff5c3bcefb1accd2ac51b23d113b9..f0abd7484b900b38bf00f5fb8d29cb0860046d61 100644 (file)
@@ -350,11 +350,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 */