Although pyconfig.h claims that WIN32 is obsolete it is still required for the locale module. locale.getdefaultlocale() fails silently w/o the WIN32 macro.

This commit is contained in:
Christian Heimes 2007-12-01 01:03:20 +00:00
parent 6b29dd05c8
commit 9f6d4ceb43
2 changed files with 11 additions and 9 deletions

View file

@ -23,9 +23,11 @@ compiler specific". Therefore, these should be very rare.
NOTE: The following symbols are deprecated:
NT, WIN32, USE_DL_EXPORT, USE_DL_IMPORT, DL_EXPORT, DL_IMPORT
NT, USE_DL_EXPORT, USE_DL_IMPORT, DL_EXPORT, DL_IMPORT
MS_CORE_DLL.
WIN32 is still required for the locale module.
*/
#ifdef _WIN32_WCE