apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r892181 - /apr/apr/trunk/include/apr.hw
Date Fri, 18 Dec 2009 08:40:24 GMT
Author: wrowe
Date: Fri Dec 18 08:40:24 2009
New Revision: 892181

URL: http://svn.apache.org/viewvc?rev=892181&view=rev
Log:
Revert; we should base ssize_t on ptrdiff_t (thus, stddef.h on win32)

Modified:
    apr/apr/trunk/include/apr.hw

Modified: apr/apr/trunk/include/apr.hw
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr.hw?rev=892181&r1=892180&r2=892181&view=diff
==============================================================================
--- apr/apr/trunk/include/apr.hw (original)
+++ apr/apr/trunk/include/apr.hw Fri Dec 18 08:40:24 2009
@@ -360,7 +360,12 @@
 typedef  unsigned __int64  apr_uint64_t;
 
 typedef  size_t      apr_size_t;
-typedef  ssize_t     apr_ssize_t;
+#if APR_HAVE_STDDEF_H
+typedef  ptrdiff_t   apr_ssize_t;
+#else
+typedef  int         apr_ssize_t;
+#endif
+
 #if APR_HAS_LARGE_FILES
 typedef  __int64     apr_off_t;
 #else



Mime
View raw message