diff Python/thread_nt.h @ 13138:404156092f78 legacy-trunk

- 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.
author Fredrik Lundh <fredrik@pythonware.com>
date Thu, 29 Jun 2000 17:25:30 +0000
parents 8c8de5b736dc
children ff243b0f16ee
line wrap: on
line diff
--- a/Python/thread_nt.h	Thu Jun 29 17:00:54 2000 +0000
+++ b/Python/thread_nt.h	Thu Jun 29 17:25:30 2000 +0000
@@ -182,7 +182,11 @@
  */
 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()));