summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorTrent Mick <trentm@activestate.com>2000-08-12 19:37:27 (GMT)
committerTrent Mick <trentm@activestate.com>2000-08-12 19:37:27 (GMT)
commit8a74e5fc2cce1df7e3747b704abf28edb788a8d7 (patch)
tree1fb57190e6e0c19ab9f79727b6dbdd6628fbf2e2 /Objects
parentc7ef59128b48388eafe544999755e7f7a5df608a (diff)
downloadcpython-8a74e5fc2cce1df7e3747b704abf28edb788a8d7.zip
cpython-8a74e5fc2cce1df7e3747b704abf28edb788a8d7.tar.gz
cpython-8a74e5fc2cce1df7e3747b704abf28edb788a8d7.tar.bz2
Add the current Win64 compiler to the list of those that need the
huge switch statement broken up. This will probably not be necessary when the Win64 compiler matures.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodectype.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/Objects/unicodectype.c b/Objects/unicodectype.c
index dacdd1a..a4808af 100644
--- a/Objects/unicodectype.c
+++ b/Objects/unicodectype.c
@@ -14,7 +14,11 @@ Copyright (c) Corporation for National Research Initiatives.
#include "unicodeobject.h"
-#ifdef macintosh
+#if defined(macintosh) || defined(MS_WIN64)
+/*XXX This was required to avoid a compiler error for an early Win64
+ * cross-compiler that was used for the port to Win64. When the platform is
+ * released the MS_WIN64 inclusion here should no longer be necessary.
+ */
/* This probably needs to be defined for some other compilers too. It breaks the
** 5000-label switch statement up into switches with around 1000 cases each.
*/