summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2000-08-07 20:16:28 (GMT)
committerFredrik Lundh <fredrik@pythonware.com>2000-08-07 20:16:28 (GMT)
commit6947d0b65eb21606de8e17b180bf116421d23116 (patch)
tree00edf27eb1777cdbd947a333192db8344f36aa9d /Python
parent6c2f0c73a13e1d106042661ddf5c6ab1d56bdd01 (diff)
downloadcpython-6947d0b65eb21606de8e17b180bf116421d23116.zip
cpython-6947d0b65eb21606de8e17b180bf116421d23116.tar.gz
cpython-6947d0b65eb21606de8e17b180bf116421d23116.tar.bz2
-- from Trent Mick: [Patch #101010] replace use of INT_PTR
with uintptr_t (fix MSVC 5.0 build)
Diffstat (limited to 'Python')
-rw-r--r--Python/thread_nt.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/Python/thread_nt.h b/Python/thread_nt.h
index 9d41820..5e295cb 100644
--- a/Python/thread_nt.h
+++ b/Python/thread_nt.h
@@ -161,11 +161,7 @@ static void PyThread__init_thread(void)
*/
int PyThread_start_new_thread(void (*func)(void *), void *arg)
{
-#if _MSC_VER >= 1200
- INT_PTR rv;
-#else
- unsigned long rv;
-#endif
+ uintptr_t rv;
int success = 0;
dprintf(("%ld: PyThread_start_new_thread called\n", PyThread_get_thread_ident()));