[PPL-devel] [GIT] ppl/ppl(master): Make sure uintptr_t is defined, if at all possible.

Roberto Bagnara bagnara at cs.unipr.it
Fri Sep 11 22:29:29 CEST 2009


Module: ppl/ppl
Branch: master
Commit: 2e103e539bb6f64b214ee11c40dfcb6fe1b81d30
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=2e103e539bb6f64b214ee11c40dfcb6fe1b81d30

Author: Roberto Bagnara <bagnara at cs.unipr.it>
Date:   Fri Sep 11 22:27:40 2009 +0200

Make sure uintptr_t is defined, if at all possible.

---

 configure.ac |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index ba08ec1..8a661eb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -716,6 +716,10 @@ AC_CHECK_DECLS([fma,fmaf,fmal,rintf,rintl], , , [#include <cmath>])
 # Checks for the availability of "fast" integral types.
 AC_CHECK_TYPES([int_fast16_t,int_fast32_t,int_fast64_t,uint_fast16_t,uint_fast32_t,uint_fast64_t])
 
+# Make sure uintptr_t is defined to an unsigned integer type wide enough
+# to hold a pointer, if such a type exists.
+AC_TYPE_UINTPTR_T
+
 
 # Checks on the GMP library.
 




More information about the PPL-devel mailing list