[Python-checkins] CVS: python/dist/src/Modules _testcapimodule.c,1.8,1.9
Tim Peters
tim_one@users.sourceforge.net
Tue, 26 Jun 2001 15:40:49 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv2927/python/dist/src/Modules
Modified Files:
_testcapimodule.c
Log Message:
Windows build broke from recent Unicode changes -- need to #define
SIZEOF_SHORT by hand here.
Also added dynamic check that SIZEOF_SHORT is correct for the platform (in
_testcapimodule).
Index: _testcapimodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_testcapimodule.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** _testcapimodule.c 2001/06/16 08:10:13 1.8
--- _testcapimodule.c 2001/06/26 22:40:47 1.9
***************
*** 53,56 ****
--- 53,57 ----
return sizeof_error(#FATNAME, #TYPE, FATNAME, sizeof(TYPE))
+ CHECK_SIZEOF(SIZEOF_SHORT, short);
CHECK_SIZEOF(SIZEOF_INT, int);
CHECK_SIZEOF(SIZEOF_LONG, long);