Author: manolo
Date: 2011-03-03 04:10:43 -0800 (Thu, 03 Mar 2011)
New Revision: 8501
Log:
Fix the #define U64 part of STR #2582: don't define it for Mac OS because its 
value
varies with architecture.

Modified:
   branches/branch-1.3/configure.in

Modified: branches/branch-1.3/configure.in
===================================================================
--- branches/branch-1.3/configure.in    2011-03-03 09:20:46 UTC (rev 8500)
+++ branches/branch-1.3/configure.in    2011-03-03 12:10:43 UTC (rev 8501)
@@ -442,12 +442,14 @@
         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?

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to