[Python-checkins] CVS: python/dist/src/Objects unicodectype.c,2.5,2.6
Trent Mick
python-dev@python.org
Sat, 12 Aug 2000 12:37:30 -0700
Update of /cvsroot/python/python/dist/src/Objects
In directory slayer.i.sourceforge.net:/tmp/cvs-serv20993/Objects
Modified Files:
unicodectype.c
Log Message:
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.
Index: unicodectype.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/unicodectype.c,v
retrieving revision 2.5
retrieving revision 2.6
diff -C2 -r2.5 -r2.6
*** unicodectype.c 2000/08/03 16:24:25 2.5
--- unicodectype.c 2000/08/12 19:37:27 2.6
***************
*** 15,19 ****
#include "unicodeobject.h"
! #ifdef macintosh
/* 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.
--- 15,23 ----
#include "unicodeobject.h"
! #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.