diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-07-04 12:23:54 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-07-04 12:23:54 (GMT) |
commit | 99b9538636e44f2400b45a4b9fa3d74ccb958922 (patch) | |
tree | e55a5c1779528ffdc849e153a9d479147c9aa800 /Python | |
parent | 9122fdd8fae87190a47a94767b7f0157478306ef (diff) | |
download | cpython-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.c | 2 |
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__) |