Kaydet (Commit) 34a96371 authored tarafından Fredrik Lundh's avatar Fredrik Lundh

- 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.
üst 1bfdc78c
...@@ -182,7 +182,11 @@ static void PyThread__init_thread(void) ...@@ -182,7 +182,11 @@ static void PyThread__init_thread(void)
*/ */
int PyThread_start_new_thread(void (*func)(void *), void *arg) int PyThread_start_new_thread(void (*func)(void *), void *arg)
{ {
#if _MSC_VER >= 1200
INT_PTR rv; INT_PTR rv;
#else
unsigned long rv;
#endif
int success = 0; int success = 0;
dprintf(("%ld: PyThread_start_new_thread called\n", PyThread_get_thread_ident())); dprintf(("%ld: PyThread_start_new_thread called\n", PyThread_get_thread_ident()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment