summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-07-27 15:57:24 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-07-27 15:57:24 (GMT)
commitfe393f47c662c307d2d3e90f785edf5821d54a8d (patch)
tree4029f95155ab2c344a7252379eb948fa18753b04 /Include
parentb600fe90a7d65e63e29941b3222cfba6880d3352 (diff)
downloadcpython-fe393f47c662c307d2d3e90f785edf5821d54a8d.zip
cpython-fe393f47c662c307d2d3e90f785edf5821d54a8d.tar.gz
cpython-fe393f47c662c307d2d3e90f785edf5821d54a8d.tar.bz2
Use intptr_t/uintptr_t on Windows
Diffstat (limited to 'Include')
-rw-r--r--Include/Python.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Include/Python.h b/Include/Python.h
index a2be68f..2d48d2e 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -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.