apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor J. Orlikowski" <v.j.orlikow...@gte.net>
Subject Re: cvs commit: apr configure.in
Date Mon, 04 Jun 2001 15:32:52 GMT
 > this is glibc-specific, not Linux-specific, right?

Yes.

 > Why are we turning on _BSD_SOURCE and _SVID_SOURCE here?  What do they
 > have to do with pthread_rwlock_t?  Only _XOPEN_SOURCE=500 is needed
 > for pthread_rwlock_t IIRC.  _BSD_SOURCE is related to the combination
 > of _XOPEN_SOURCE=500 and either S_ISLINK or S_ISSOCK.  I forget what
 > _SVID_SOURCE is for.
 > 

We need to turn on _BSD_SOURCE and _SVID_SOURCE, since they are
normally on by default in glibc (check /usr/include/features.h), but
setting _XOPEN_SOURCE=500 turns them off.

Victor
-- 
Victor J. Orlikowski
======================
v.j.orlikowski@gte.net
orlikowski@apache.org
vjo@us.ibm.com


Mime
View raw message