Christian Heimes added the comment: Martin v. Löwis wrote: > As you found, the original issue reported here could be closed: > WINVER *is* already defined in pyconfig.h. I'm still -1 for defining > it generally. So to define WINVER for the extension modules that > are part of the core, it would be best to define it in pyd.vsprops, > and pyd_d.vsprops, not in a header file.
I require WINVER set to Win2k for patch #1763 (os.path.get_shellfolders()). The necessary API methods aren't declared for the standard WINVER. What do you think about a new macro Py_BUILD_CORE_MODULE for the pyd property file? #if defined(Py_BUILD_CORE) || defined(Py_BUILD_CORE_MODULE) #define NTDDI_VERSION NTDDI_WIN2KSP4 #define WINVER 0x0500 #define _WIN32_WINNT WINVER #endif __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1706> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com