From: Fredrik Lundh Date: Tue, 26 Jun 2001 17:46:10 +0000 (+0000) Subject: experimental UCS-4 support: don't assume that MS_WIN32 implies X-Git-Tag: v2.2a3~1416 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5b979356044281e3524500a1a6eb8d1cbdf25362;p=thirdparty%2FPython%2Fcpython.git experimental UCS-4 support: don't assume that MS_WIN32 implies HAVE_USABLE_WCHAR_T --- diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 1e9868af14fd..4da984f8da48 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 */