We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0579715 commit 8b9ea87Copy full SHA for 8b9ea87
1 file changed
Python/sysmodule.c
@@ -269,10 +269,10 @@ initsys()
269
dictinsert(sysdict, "builtin_module_names",
270
v = list_builtin_module_names());
271
XDECREF(v);
272
-#ifdef PYTHONWIN
+#ifdef MS_COREDLL
273
dictinsert(sysdict, "dllhandle", v = newintobject((int)PyWin_DLLhModule));
274
275
- dictinsert(sysdict, "winver", v = newstringobject(WIN32_PATCH_LEVEL));
+ dictinsert(sysdict, "winver", v = newstringobject(MS_DLL_ID));
276
277
#endif
278
if (err_occurred())
0 commit comments