Skip to content

Commit 2d5bba2

Browse files
author
effbot
committed
- 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. git-svn-id: http://svn.python.org/projects/python/trunk@15899 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 79a6b73 commit 2d5bba2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Python/thread_nt.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,11 @@ static void PyThread__init_thread(void)
182182
*/
183183
int PyThread_start_new_thread(void (*func)(void *), void *arg)
184184
{
185+
#if _MSC_VER >= 1200
185186
INT_PTR rv;
187+
#else
188+
unsigned long rv;
189+
#endif
186190
int success = 0;
187191

188192
dprintf(("%ld: PyThread_start_new_thread called\n", PyThread_get_thread_ident()));

0 commit comments

Comments
 (0)