apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r809741 - /apr/apr/trunk/configure.in
Date Mon, 31 Aug 2009 20:53:22 GMT
Author: jim
Date: Mon Aug 31 20:53:22 2009
New Revision: 809741

URL: http://svn.apache.org/viewvc?rev=809741&view=rev
Log:
Ugly hack... for Darwin 10.0.0, off_t is long long

Modified:
    apr/apr/trunk/configure.in

Modified: apr/apr/trunk/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/configure.in?rev=809741&r1=809740&r2=809741&view=diff
==============================================================================
--- apr/apr/trunk/configure.in (original)
+++ apr/apr/trunk/configure.in Mon Aug 31 20:53:22 2009
@@ -1636,6 +1636,13 @@
     else
         AC_ERROR([could not determine the size of off_t])
     fi
+    #
+    case $host in
+    *darwin10.0.0)
+        if test "$ac_cv_sizeof_long" = "$ac_cv_sizeof_long_long"; then
+            off_t_fmt='#define APR_OFF_T_FMT APR_INT64_T_FMT'
+        fi ;;
+    esac
 else
    # Fallback on int
    off_t_value=apr_int32_t



Mime
View raw message