diff Include/Python.h @ 32833:dac9d0664fc3 legacy-trunk

Use intptr_t/uintptr_t on Windows
author Martin v. Löwis <martin@v.loewis.de>
date Tue, 27 Jul 2004 15:57:24 +0000
parents 485d2ef43419
children 1c4d192f1568
line wrap: on
line diff
--- a/Include/Python.h	Tue Jul 27 15:03:53 2004 +0000
+++ b/Include/Python.h	Tue Jul 27 15:57:24 2004 +0000
@@ -41,6 +41,11 @@
 #include <unistd.h>
 #endif
 
+/* For uintptr_t, intptr_t */
+#ifdef HAVE_STDDEF_H
+#include <stddef.h>
+#endif
+
 /* CAUTION:  Build setups should ensure that NDEBUG is defined on the
  * compiler command line when building Python in release mode; else
  * assert() calls won't be removed.