commit | 361b583e88a260553418aaf5f5b00f31cc5ce5fb | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Jun 30 22:17:53 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Jun 30 22:17:53 2000 +0000 |
tree | 868b05e6600b829200e9b664c2f916dbb637e594 | |
parent | ef7bae6b2f7ba194dee32a04cc4d85675ce940b5 [diff] [blame] |
Only include <basetsd.h> for VC 6.0 and higher.
diff --git a/PC/config.h b/PC/config.h index 850af58..f057a75 100644 --- a/PC/config.h +++ b/PC/config.h
@@ -243,7 +243,9 @@ /* 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