We can #ifndef PTHREAD_PROCESS_SHARED instead of BSD, unless someone
#define it without supporting it. Not for MDB_FDATASYNC though.
PTHREAD_PROCESS_SHARED is defined just about everywhere, that's not a useful
test. (You only discover at runtime that the mutex creation/init failed...)
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/