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

Skip to content

Commit 8a74e5f

Browse files
author
Trent Mick
committed
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.
1 parent c7ef591 commit 8a74e5f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Objects/unicodectype.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ Copyright (c) Corporation for National Research Initiatives.
1414

1515
#include "unicodeobject.h"
1616

17-
#ifdef macintosh
17+
#if defined(macintosh) || defined(MS_WIN64)
18+
/*XXX This was required to avoid a compiler error for an early Win64
19+
* cross-compiler that was used for the port to Win64. When the platform is
20+
* released the MS_WIN64 inclusion here should no longer be necessary.
21+
*/
1822
/* This probably needs to be defined for some other compilers too. It breaks the
1923
** 5000-label switch statement up into switches with around 1000 cases each.
2024
*/

0 commit comments

Comments
 (0)