You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by ji...@apache.org on 2009/08/31 22:53:22 UTC
svn commit: r809741 - /apr/apr/trunk/configure.in
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