[issue1706] Force WINVER 0x0500 (Windows 2000)

Martin v. Löwis report at bugs.python.org
Sat Feb 9 18:27:54 CET 2008


Martin v. Löwis added the comment:

> Given that whether or not Py_BUILD_CORE is defined flips the direction
> of the DLL exports/import for the main python DLL, I don't see how it
> could be defined for the separately compiled extension modules like
> _tkinter, _sqlite3, _ctypes, _socket, _ssl, etc.

You are right, it's not.

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.

Regards,
Martin

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1706>
__________________________________


More information about the Python-bugs-list mailing list