summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-07-04 12:23:54 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-07-04 12:23:54 (GMT)
commit99b9538636e44f2400b45a4b9fa3d74ccb958922 (patch)
treee55a5c1779528ffdc849e153a9d479147c9aa800 /Python
parent9122fdd8fae87190a47a94767b7f0157478306ef (diff)
downloadcpython-99b9538636e44f2400b45a4b9fa3d74ccb958922.zip
cpython-99b9538636e44f2400b45a4b9fa3d74ccb958922.tar.gz
cpython-99b9538636e44f2400b45a4b9fa3d74ccb958922.tar.bz2
Issue #9642: Uniformize the tests on the availability of the mbcs codec
Add a new HAVE_MBCS define.
Diffstat (limited to 'Python')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 9adf530..291ef45 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -18,7 +18,7 @@
Don't forget to modify PyUnicode_DecodeFSDefault() if you touch any of the
values for Py_FileSystemDefaultEncoding!
*/
-#if defined(MS_WINDOWS) && defined(HAVE_USABLE_WCHAR_T)
+#ifdef HAVE_MBCS
const char *Py_FileSystemDefaultEncoding = "mbcs";
int Py_HasFileSystemDefaultEncoding = 1;
#elif defined(__APPLE__)