From d476a400b4d99d358b817bfe7229d0085f50e597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Fri, 12 Oct 2007 08:56:52 +0000 Subject: [PATCH] Bug #1216: Restore support for Visual Studio 2002. Will backport to 2.5. --- Misc/NEWS | 2 ++ PC/pyconfig.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Misc/NEWS b/Misc/NEWS index 99d9249f83b..f3a18d965dc 100644 --- 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 --- diff --git a/PC/pyconfig.h b/PC/pyconfig.h index bdac0a67021..27cb17fce79 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 */