summaryrefslogtreecommitdiffstats
path: root/Modules/timemodule.c
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 /Modules/timemodule.c
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 'Modules/timemodule.c')
-rw-r--r--Modules/timemodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c
index 8e29e0c..636d4ad 100644
--- a/Modules/timemodule.c
+++ b/Modules/timemodule.c
@@ -43,7 +43,7 @@ static long main_thread;
#endif /* MS_WINDOWS */
#endif /* !__WATCOMC__ || __QNX__ */
-#if defined(MS_WINDOWS)
+#if defined(HAVE_MBCS)
# define TZNAME_ENCODING "mbcs"
#else
# define TZNAME_ENCODING "utf-8"