apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r422313 - /apr/apr/trunk/include/apr.h.in
Date Sat, 15 Jul 2006 22:55:07 GMT
Author: pquerna
Date: Sat Jul 15 15:55:06 2006
New Revision: 422313

URL: http://svn.apache.org/viewvc?rev=422313&view=rev
Log:
Replicate how apr.hw hacks pid_t, uid_t, and gid_t for mingw32.

Modified:
    apr/apr/trunk/include/apr.h.in

Modified: apr/apr/trunk/include/apr.h.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr.h.in?rev=422313&r1=422312&r2=422313&view=diff
==============================================================================
--- apr/apr/trunk/include/apr.h.in (original)
+++ apr/apr/trunk/include/apr.h.in Sat Jul 15 15:55:06 2006
@@ -402,6 +402,13 @@
 typedef int apr_wait_t;
 #endif /* HAVE_SYS_WAIT_H */
 
+/* XXXX: These don't belong here, but it is replicating what apr.hw does. */
+#ifdef __MINGW32__
+typedef  int         pid_t;
+typedef  int         uid_t;
+typedef  int         gid_t;
+#endif
+
 #if defined(PATH_MAX)
 #define APR_PATH_MAX       PATH_MAX
 #elif defined(_POSIX_PATH_MAX)



Mime
View raw message