apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: [PATCH] Don't define POSIX types {p,g,u}id_t
Date Mon, 02 May 2005 17:48:24 GMT
I've attached an updated patch to 
http://issues.apache.org/bugzilla/show_bug.cgi?id=33490 which contains 
both a full set of fixes for Borland and MinGW compilation problems and 
a subset just dealing with the POSIX types.  I would prefer that the 
full set of fixes be addressed.

apr_os_proc_t was used as suggested.

  APR_DEFINE_POSIX_T was used to avoid a double negative (#if 
!APR_NODEFINE_POSIX_T) in the code.  If APR_DEFINE_POSIX_T is not 
specified, it set to 1 for Microsoft compilers and 0 for everything 
else.  The Visual Studio projects were modified to specify 

There was a similar issue with the definitions of SIGHUP et al in 
include/arch/win32/apr_private.h.  I used APR_DEFINE_SIGNAL_CONSTANTS 
with similar semantics to prevent those definitions except where needed 
for source compatibility.

View raw message