summaryrefslogtreecommitdiffstats
path: root/PC/pyconfig.h
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-06-12 23:03:41 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-06-12 23:03:41 (GMT)
commit762681b5152671802d315833a661a79d01f2c5e7 (patch)
tree8282d773d6a2d6122fcadad26663012910221886 /PC/pyconfig.h
parent6166717fa44494460b3bb641f158fd92a614d1ae (diff)
downloadcpython-762681b5152671802d315833a661a79d01f2c5e7.zip
cpython-762681b5152671802d315833a661a79d01f2c5e7.tar.gz
cpython-762681b5152671802d315833a661a79d01f2c5e7.tar.bz2
Slowly apply part of #2065: py3k can be compiled with VS8.0
Diffstat (limited to 'PC/pyconfig.h')
-rw-r--r--PC/pyconfig.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index b64561b..0a27ff0 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -158,11 +158,11 @@ WIN32 is still required for the locale module.
/* set the version macros for the windows headers */
#ifdef MS_WINX64
/* 64 bit only runs on XP or greater */
-#define Py_WINVER _WIN32_WINNT_WINXP
+#define Py_WINVER 0x0501 /* _WIN32_WINNT_WINXP */
#define Py_NTDDI NTDDI_WINXP
#else
/* Python 2.6+ requires Windows 2000 or greater */
-#define Py_WINVER _WIN32_WINNT_WIN2K
+#define Py_WINVER 0x0500 /* _WIN32_WINNT_WIN2K */
#define Py_NTDDI NTDDI_WIN2KSP4
#endif