From 60bb67ba0e4d59bfcdf4239a7f73c13843e39bbc Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 3 Mar 2011 12:10:43 +0000 Subject: [PATCH] Fix the #define U64 part of STR #2582: don't define it for Mac OS because its value varies with architecture. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8501 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- configure.in | 14 ++++++++------ 1 file 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?