diff options
Diffstat (limited to 'Python/thread_nt.h')
-rw-r--r-- | Python/thread_nt.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/thread_nt.h b/Python/thread_nt.h index 9e82a94..fb04f83 100644 --- a/Python/thread_nt.h +++ b/Python/thread_nt.h @@ -182,7 +182,11 @@ 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 int success = 0; dprintf(("%ld: PyThread_start_new_thread called\n", PyThread_get_thread_ident())); |