summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-10-10 08:10:16 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-10-10 08:10:16 (GMT)
commit1bf29b7da72e32db56458952a33772a9773b535a (patch)
tree2814f367736ae0dff20ac1b163103a42f5a741cf /configure.in
parent79941b5c09a55c5d1dc620d74e26103e93b1c465 (diff)
downloadcpython-1bf29b7da72e32db56458952a33772a9773b535a.zip
cpython-1bf29b7da72e32db56458952a33772a9773b535a.tar.gz
cpython-1bf29b7da72e32db56458952a33772a9773b535a.tar.bz2
Some platforms provide uintptr_t in inttypes.h. Patch by
Akira Kitada.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index d9e208e..80c581b 100644
--- a/configure.in
+++ b/configure.in
@@ -1483,6 +1483,9 @@ AC_CHECK_TYPES(uintptr_t,
[AC_CHECK_SIZEOF(uintptr_t, 4)],
[], [#ifdef HAVE_STDINT_H
#include <stdint.h>
+ #endif
+ #ifdef HAVE_INTTYPES_H
+ #include <inttypes.h>
#endif])
AC_CHECK_SIZEOF(off_t, [], [