Only include <basetsd.h> for VC 6.0 and higher.

This commit is contained in:
Guido van Rossum 2000-06-30 22:17:53 +00:00
parent ef7bae6b2f
commit 361b583e88
1 changed files with 2 additions and 0 deletions

View File

@ -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