summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2000-06-29 17:25:30 (GMT)
committerFredrik Lundh <fredrik@pythonware.com>2000-06-29 17:25:30 (GMT)
commit34a96371c3685c5631fb1bea8963fd074912bcd9 (patch)
tree2e29297b1c330b75a1502b360885a82be9da955f /Python
parent1bfdc78c84d037b09598b86d1a3847802f5e74c6 (diff)
downloadcpython-34a96371c3685c5631fb1bea8963fd074912bcd9.zip
cpython-34a96371c3685c5631fb1bea8963fd074912bcd9.tar.gz
cpython-34a96371c3685c5631fb1bea8963fd074912bcd9.tar.bz2
- 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.
Diffstat (limited to 'Python')
-rw-r--r--Python/thread_nt.h4
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()));