> 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 ====================== [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
