diff options
| author | Fredrik Lundh <fredrik@pythonware.com> | 2000-06-29 17:25:30 +0000 |
|---|---|---|
| committer | Fredrik Lundh <fredrik@pythonware.com> | 2000-06-29 17:25:30 +0000 |
| commit | 805da9d3cf1693916947b79c71fab1cae0402ef8 (patch) | |
| tree | 7e174bf5d1d8d7581b55495ec34e569f161b4c47 /Python | |
| parent | c1f9311e4d9d2d481e607b4f45137c49cf92a0d0 (diff) | |
| download | cpython-805da9d3cf1693916947b79c71fab1cae0402ef8.tar.gz | |
- 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.h | 4 |
1 files changed, 4 insertions, 0 deletions
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())); |
