apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsanc...@apache.org
Subject svn commit: r410634 - /apr/apr/trunk/configure.in
Date Wed, 31 May 2006 18:50:07 GMT
Author: wsanchez
Date: Wed May 31 11:50:06 2006
New Revision: 410634

URL: http://svn.apache.org/viewvc?rev=410634&view=rev
Log:
Submitted by: breser
ssize_t changes from int to long in Darwin 8.

Modified:
    apr/apr/trunk/configure.in

Modified: apr/apr/trunk/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/configure.in?rev=410634&r1=410633&r2=410634&view=diff
==============================================================================
--- apr/apr/trunk/configure.in (original)
+++ apr/apr/trunk/configure.in Wed May 31 11:50:06 2006
@@ -1346,7 +1346,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