From: Fredrik Lundh Date: Thu, 29 Jun 2000 17:25:30 +0000 (+0000) Subject: - workaround to make 1.6 build under MSVC 5.0. hopefully, X-Git-Tag: v2.0b1~1293 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=34a96371c3685c5631fb1bea8963fd074912bcd9;p=python - workaround to make 1.6 build under MSVC 5.0. hopefully, trent (who broke it in the first place ;-) will come up with a cleaner solution. --- diff --git a/Python/thread_nt.h b/Python/thread_nt.h index 9e82a9408f..fb04f830ee 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()));