Commit c8c0fe72 authored by Guido van Rossum's avatar Guido van Rossum

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

parent a304bae2
...@@ -243,7 +243,9 @@ typedef int pid_t; ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment