apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roo...@apache.org
Subject svn commit: r449073 - /apr/apr/branches/1.2.x/configure.in
Date Fri, 22 Sep 2006 20:26:51 GMT
Author: rooneg
Date: Fri Sep 22 13:26:50 2006
New Revision: 449073

URL: http://svn.apache.org/viewvc?view=rev&rev=449073
Log:
Merge r410634 from trunk.

ssize_t changes from int to long in Darwin 8.

Modified:
    apr/apr/branches/1.2.x/configure.in

Modified: apr/apr/branches/1.2.x/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/configure.in?view=diff&rev=449073&r1=449072&r2=449073
==============================================================================
--- apr/apr/branches/1.2.x/configure.in (original)
+++ apr/apr/branches/1.2.x/configure.in Fri Sep 22 13:26:50 2006
@@ -1347,7 +1347,15 @@
         size_t_fmt='#define APR_SIZE_T_FMT "ld"'
         ;;
     *apple-darwin*)
-        ssize_t_fmt='#define APR_SSIZE_T_FMT "d"'
+        osver=`uname -r`
+        case $osver in
+           [0-7].*)
+              ssize_t_fmt='#define APR_SSIZE_T_FMT "d"'
+              ;;
+           *)
+              ssize_t_fmt='#define APR_SSIZE_T_FMT "ld"'
+              ;;
+        esac
         size_t_fmt='#define APR_SIZE_T_FMT "lu"'
         ;;
 esac



Mime
View raw message