mirror of
https://github.com/python/cpython
synced 2024-09-06 02:38:55 +00:00
Only include <basetsd.h> for VC 6.0 and higher.
This commit is contained in:
parent
ef7bae6b2f
commit
361b583e88
|
@ -243,7 +243,9 @@ typedef int pid_t;
|
||||||
|
|
||||||
/* define the ANSI intptr_t type for portable use of a pointer sized
|
/* define the ANSI intptr_t type for portable use of a pointer sized
|
||||||
integer */
|
integer */
|
||||||
|
#if _MSC_VER >= 1200 /* This file only exists in VC 6.0 or higher */
|
||||||
#include <basetsd.h>
|
#include <basetsd.h>
|
||||||
|
#endif
|
||||||
#if defined(MS_WINDOWS) && !defined(MS_WIN64)
|
#if defined(MS_WINDOWS) && !defined(MS_WIN64)
|
||||||
typedef long intptr_t;
|
typedef long intptr_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue