diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2008-05-29 15:46:56 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2008-05-29 15:46:56 +0000 |
commit | 5f2050f4c865ed264b7b3115d0d4e38946f045ad (patch) | |
tree | 7c305f935c2ffcaa9b620a5875302dce0c1d3820 /include/apr.h.in | |
parent | 9f935aaede411677912713e6ca8ce2ccbb210cac (diff) | |
download | apr-5f2050f4c865ed264b7b3115d0d4e38946f045ad.tar.gz |
Respect the cardinal rule that non-apr stuff needs to be
outside of the apr doxygen blocks.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@661368 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr.h.in')
-rw-r--r-- | include/apr.h.in | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/include/apr.h.in b/include/apr.h.in index 8a7d7c2cd..9f1fb6f99 100644 --- a/include/apr.h.in +++ b/include/apr.h.in @@ -109,6 +109,7 @@ #define APR_HAVE_WINSOCK2_H @winsock2h@ /** @} */ +/** @} */ /* We don't include our conditional headers within the doxyblocks * or the extern "C" namespace @@ -467,7 +468,6 @@ typedef apr_uint32_t apr_uintptr_t; /* Local machine definition for console and log output. */ #define APR_EOL_STR "@eolstr@" - #if APR_HAVE_SYS_WAIT_H #ifdef WEXITSTATUS #define apr_wait_t int @@ -480,13 +480,6 @@ typedef apr_uint32_t apr_uintptr_t; 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) @@ -498,7 +491,19 @@ typedef int gid_t; #define APR_DSOPATH "@shlibpath_var@" /** @} */ -/** @} */ + +/* Definitions that only Win32 programs need to compile properly. */ + +/* XXX These simply don't belong here, perhaps in apr_portable.h + * based on some APR_HAVE_PID/GID/UID? + */ +#ifdef __MINGW32__ +#ifndef __GNUC__ +typedef int pid_t; +#endif +typedef int uid_t; +typedef int gid_t; +#endif #ifdef __cplusplus } |