apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r151378 - apr/apr/trunk/configure.in
Date Fri, 04 Feb 2005 17:42:11 GMT
Author: jorton
Date: Fri Feb  4 09:42:07 2005
New Revision: 151378

URL: http://svn.apache.org/viewcvs?view=rev&rev=151378
Log:
* configure.in: For Linux/s390, print size_t as unsigned long int and
ssize_t as signed long int (previously signed long int and signed int
respectively).

Modified:
    apr/apr/trunk/configure.in

Modified: apr/apr/trunk/configure.in
URL: http://svn.apache.org/viewcvs/apr/apr/trunk/configure.in?view=diff&r1=151377&r2=151378
==============================================================================
--- apr/apr/trunk/configure.in (original)
+++ apr/apr/trunk/configure.in Fri Feb  4 09:42:07 2005
@@ -1321,7 +1321,10 @@
 # you can override our decision below.
 case $host in
    s390*linux*)
-       size_t_fmt='#define APR_SIZE_T_FMT "ld"'
+       # uniquely, the 31-bit Linux/s390 uses "unsigned long int"
+       # for size_t rather than "unsigned int":
+       size_t_fmt='#define APR_SIZE_T_FMT "lu"'
+       ssize_t_fmt='#define APR_SSIZE_T_FMT "ld"'
        ;;
    *-os2*)
        size_t_fmt='#define APR_SIZE_T_FMT "lu"'



Mime
View raw message