summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-08-23 18:14:47 (GMT)
committerGuido van Rossum <guido@python.org>1996-08-23 18:14:47 (GMT)
commit8b9ea873ad4bbb6a5d31cff43fc589f6004a4e2e (patch)
treed59f0046f3dccf8bb5266695673a2716c86608d9 /Python/sysmodule.c
parent057971528d37cbb45d80d7d16fdfe890e3bd356e (diff)
downloadcpython-8b9ea873ad4bbb6a5d31cff43fc589f6004a4e2e.zip
cpython-8b9ea873ad4bbb6a5d31cff43fc589f6004a4e2e.tar.gz
cpython-8b9ea873ad4bbb6a5d31cff43fc589f6004a4e2e.tar.bz2
Use MS_DLL_ID as sys.winver
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 1dc8e17..56d1e6d 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -269,10 +269,10 @@ initsys()
dictinsert(sysdict, "builtin_module_names",
v = list_builtin_module_names());
XDECREF(v);
-#ifdef PYTHONWIN
+#ifdef MS_COREDLL
dictinsert(sysdict, "dllhandle", v = newintobject((int)PyWin_DLLhModule));
XDECREF(v);
- dictinsert(sysdict, "winver", v = newstringobject(WIN32_PATCH_LEVEL));
+ dictinsert(sysdict, "winver", v = newstringobject(MS_DLL_ID));
XDECREF(v);
#endif
if (err_occurred())