summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in14
1 files changed, 8 insertions, 6 deletions
diff --git a/configure.in b/configure.in
index a6bbcb76a..c089af4a6 100644
--- a/configure.in
+++ b/configure.in
@@ -442,12 +442,14 @@ else
AC_DEFINE(U32,unsigned long)
fi
fi
-if test $ac_cv_sizeof_int -eq 8; then
- AC_DEFINE(U64,unsigned)
-else
- if test $ac_cv_sizeof_long -eq 8; then
- AC_DEFINE(U64,unsigned long)
- fi
+if test "$uname" != Darwin; then
+ if test $ac_cv_sizeof_int -eq 8; then
+ AC_DEFINE(U64,unsigned)
+ else
+ if test $ac_cv_sizeof_long -eq 8; then
+ AC_DEFINE(U64,unsigned long)
+ fi
+ fi
fi
dnl Does the C++ compiler support the bool type?