]> granicus.if.org Git - python/commitdiff
Only include <basetsd.h> for VC 6.0 and higher.
authorGuido van Rossum <guido@python.org>
Fri, 30 Jun 2000 22:17:53 +0000 (22:17 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 30 Jun 2000 22:17:53 +0000 (22:17 +0000)
PC/config.h

index 850af584b08cb84a3d3f3db57f7ffcf51e2be379..f057a75654b749a0ff2ae1f425ebd6be7fd0b02e 100644 (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