[Python-checkins] python/dist/src/PC pyconfig.h,1.30,1.31
loewis at users.sourceforge.net
loewis at users.sourceforge.net
Fri Oct 15 06:26:32 CEST 2004
Update of /cvsroot/python/python/dist/src/PC
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4872
Modified Files:
pyconfig.h
Log Message:
Patch #1020042: Only define HAVE_UINTPTR_T for VC 7.x.
Index: pyconfig.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/PC/pyconfig.h,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- pyconfig.h 23 Sep 2004 19:11:32 -0000 1.30
+++ pyconfig.h 15 Oct 2004 04:26:18 -0000 1.31
@@ -273,10 +273,12 @@
/* VC 7.1 has them and VC 6.0 does not. VC 6.0 has a version number of 1200.
If some compiler does not provide them, modify the #if appropriately. */
-#if _MSC_VER != 1200
+#if defined(_MSC_VER)
+#if _MSC_VER > 1200
#define HAVE_UINTPTR_T 1
#define HAVE_INTPTR_T 1
-#endif
+#endif /* _MSC_VER > 1200 */
+#endif /* _MSC_VER */
#endif
More information about the Python-checkins
mailing list