httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <>
Subject Re: WEXITSTATUS, WTERMSIG, mode_t, pid_t
Date Mon, 05 Oct 1998 16:38:06 GMT
Erm... what OS is this on?

WEXITSTATUS is _only_ redefined on NeXT because, reportedly, it doesn't
have that functionality.

On Mon, 5 Oct 1998, John Wojtowicz wrote:

> I'm doing some module development (1.3.2), and i'm including 
> ap_config.h via httpd.h.  The problem here is that my module pulls in
> <wait.h> (and consequently <sys/wait.h>).  This causes macro redefinition,
> re-typedef'ing of WEXITSTATUS, WTERMSIG, mode_t, and pid_t. I'd really like
> to take advantage of the macros and prototypes that get included from
> <wait.h>.
> Is this a known problem?  I'm sure you guys have a good reason for redefining
> those macros and typedefs in an apache header. It even seems that redefining
> these could theoretically get you in trouble on odd (broken, or stupid)
> OSes. 
> Any workaround suggestions?

View raw message