mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Only include <basetsd.h> for VC 6.0 and higher.
This commit is contained in:
parent
ef7bae6b2f
commit
361b583e88
1 changed files with 2 additions and 0 deletions
|
@ -243,7 +243,9 @@ typedef int pid_t;
|
|||
|
||||
/* define the ANSI intptr_t type for portable use of a pointer sized
|
||||
integer */
|
||||
#if _MSC_VER >= 1200 /* This file only exists in VC 6.0 or higher */
|
||||
#include <basetsd.h>
|
||||
#endif
|
||||
#if defined(MS_WINDOWS) && !defined(MS_WIN64)
|
||||
typedef long intptr_t;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue