[Python-checkins] CVS: python/dist/src/Python thread_nt.h,2.15,2.16
Fredrik Lundh
python-dev@python.org
Mon, 7 Aug 2000 13:16:31 -0700
Update of /cvsroot/python/python/dist/src/Python
In directory slayer.i.sourceforge.net:/tmp/cvs-serv8067/Python
Modified Files:
thread_nt.h
Log Message:
-- from Trent Mick: [Patch #101010] replace use of INT_PTR
with uintptr_t (fix MSVC 5.0 build)
Index: thread_nt.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/thread_nt.h,v
retrieving revision 2.15
retrieving revision 2.16
diff -C2 -r2.15 -r2.16
*** thread_nt.h 2000/07/22 18:47:25 2.15
--- thread_nt.h 2000/08/07 20:16:28 2.16
***************
*** 162,170 ****
int PyThread_start_new_thread(void (*func)(void *), void *arg)
{
! #if _MSC_VER >= 1200
! INT_PTR rv;
! #else
! unsigned long rv;
! #endif
int success = 0;
--- 162,166 ----
int PyThread_start_new_thread(void (*func)(void *), void *arg)
{
! uintptr_t rv;
int success = 0;