]> granicus.if.org Git - python/commitdiff
experimental UCS-4 support: don't assume that MS_WIN32 implies
authorFredrik Lundh <fredrik@pythonware.com>
Tue, 26 Jun 2001 17:46:10 +0000 (17:46 +0000)
committerFredrik Lundh <fredrik@pythonware.com>
Tue, 26 Jun 2001 17:46:10 +0000 (17:46 +0000)
HAVE_USABLE_WCHAR_T

Python/bltinmodule.c

index 1e9868af14fd03d680fe39f01e42b86f141cf6ab..4da984f8da48333a268a1a0e88ee1a5b49224355 100644 (file)
@@ -16,7 +16,7 @@
 /* The default encoding used by the platform file system APIs
    Can remain NULL for all platforms that don't have such a concept
 */
-#ifdef MS_WIN32
+#if defined(MS_WIN32) && defined(HAVE_USABLE_WCHAR_T)
 const char *Py_FileSystemDefaultEncoding = "mbcs";
 #else
 const char *Py_FileSystemDefaultEncoding = NULL; /* use default */