diff Python/bltinmodule.c @ 18281:e3ba3739855a legacy-trunk

experimental UCS-4 support: don't assume that MS_WIN32 implies HAVE_USABLE_WCHAR_T
author Fredrik Lundh <fredrik@pythonware.com>
date Tue, 26 Jun 2001 17:46:10 +0000
parents d579a5d8b3fe
children f38923ce3c6b
line wrap: on
line diff
--- a/Python/bltinmodule.c	Tue Jun 26 17:17:07 2001 +0000
+++ b/Python/bltinmodule.c	Tue Jun 26 17:46:10 2001 +0000
@@ -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 */