mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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.
This commit is contained in:
parent
c7ef59128b
commit
8a74e5fc2c
1 changed files with 5 additions and 1 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue