mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
-- from Trent Mick: [Patch #101010] replace use of INT_PTR
with uintptr_t (fix MSVC 5.0 build)
This commit is contained in:
parent
6c2f0c73a1
commit
6947d0b65e
2 changed files with 3 additions and 7 deletions
|
@ -161,11 +161,7 @@ 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
|
||||
uintptr_t rv;
|
||||
int success = 0;
|
||||
|
||||
dprintf(("%ld: PyThread_start_new_thread called\n", PyThread_get_thread_ident()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue