[Python-checkins] CVS: python/dist/src/PC config.h,1.43,1.44
Fredrik Lundh
python-dev@python.org
Mon, 7 Aug 2000 13:16:30 -0700
Update of /cvsroot/python/python/dist/src/PC
In directory slayer.i.sourceforge.net:/tmp/cvs-serv8067/PC
Modified Files:
config.h
Log Message:
-- from Trent Mick: [Patch #101010] replace use of INT_PTR
with uintptr_t (fix MSVC 5.0 build)
Index: config.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/PC/config.h,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -r1.43 -r1.44
*** config.h 2000/08/05 00:58:14 1.43
--- config.h 2000/08/07 20:16:28 1.44
***************
*** 242,247 ****
/* End of compilers - finish up */
! /* define the ANSI intptr_t type for portable use of a pointer sized
! integer */
#if _MSC_VER >= 1200 /* This file only exists in VC 6.0 or higher */
#include <basetsd.h>
--- 242,246 ----
/* End of compilers - finish up */
! /* define some ANSI types that are not defined in earlier Win headers */
#if _MSC_VER >= 1200 /* This file only exists in VC 6.0 or higher */
#include <basetsd.h>
***************
*** 249,252 ****
--- 248,252 ----
#if defined(MS_WINDOWS) && !defined(MS_WIN64)
typedef long intptr_t;
+ typedef unsigned long uintptr_t;
#endif