Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5b97935

Browse files
author
Fredrik Lundh
committed
experimental UCS-4 support: don't assume that MS_WIN32 implies
HAVE_USABLE_WCHAR_T
1 parent 1294ad0 commit 5b97935

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/bltinmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/* The default encoding used by the platform file system APIs
1717
Can remain NULL for all platforms that don't have such a concept
1818
*/
19-
#ifdef MS_WIN32
19+
#if defined(MS_WIN32) && defined(HAVE_USABLE_WCHAR_T)
2020
const char *Py_FileSystemDefaultEncoding = "mbcs";
2121
#else
2222
const char *Py_FileSystemDefaultEncoding = NULL; /* use default */

0 commit comments

Comments
 (0)