On Thu, May 31, 2001 at 03:10:43PM -0400, Victor J. Orlikowski wrote:
>  > pthread_rwlock_t is only declared/defined if -D_XOPEN_SOURCE=500 (or
>  > -D_GNU_SOURCE) but that causes other glitches.
> 
> The pthread_rwlock_t code works, and everythings builds, as long as
> my CFLAGS are the following on RH 6.2
> 
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE

(This is what I get for not verifying on Linux...)

What is the proper solution here?  Should we *always* add the 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE to the hints for
Linux-based platforms?

Or, would adding these to apr_hints.m4 break other things?  I can
try and get access to a Linux box tonight and play with it some.
-- justin

Reply via email to