From: Martin v. Löwis Date: Fri, 12 Oct 2007 08:58:48 +0000 (+0000) Subject: Bug #1216: Restore support for Visual Studio 2002. X-Git-Tag: v2.5.2c1~163 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d79fa9e504b4d0ede45708d2de406e775c4fd548;p=thirdparty%2FPython%2Fcpython.git Bug #1216: Restore support for Visual Studio 2002. --- diff --git a/Misc/NEWS b/Misc/NEWS index 76f25d4bd369..8642f2a23f65 100644 --- 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? ============================= diff --git a/PC/pyconfig.h b/PC/pyconfig.h index 397b67b6ecef..f0abd7484b90 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -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 */