diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2001-06-26 17:46:10 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2001-06-26 17:46:10 (GMT) |
commit | 5b979356044281e3524500a1a6eb8d1cbdf25362 (patch) | |
tree | 0249515f936c02fbcc1e6a890c2398d63409a110 | |
parent | 1294ad0c59d4a8bfbdd3f4606653d7aa20b2969e (diff) | |
download | cpython-5b979356044281e3524500a1a6eb8d1cbdf25362.zip cpython-5b979356044281e3524500a1a6eb8d1cbdf25362.tar.gz cpython-5b979356044281e3524500a1a6eb8d1cbdf25362.tar.bz2 |
experimental UCS-4 support: don't assume that MS_WIN32 implies
HAVE_USABLE_WCHAR_T
-rw-r--r-- | Python/bltinmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 1e9868a..4da984f 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -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 */ |