[Python-checkins] CVS: python/dist/src/PC config.h,1.41,1.42

Guido van Rossum python-dev@python.org
Fri, 30 Jun 2000 15:17:55 -0700


Update of /cvsroot/python/python/dist/src/PC
In directory slayer.i.sourceforge.net:/tmp/cvs-serv28210

Modified Files:
	config.h 
Log Message:
Only include <basetsd.h> for VC 6.0 and higher.


Index: config.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/PC/config.h,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -r1.41 -r1.42
*** config.h	2000/06/30 20:31:50	1.41
--- config.h	2000/06/30 22:17:53	1.42
***************
*** 244,248 ****
--- 244,250 ----
  /* 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;