https://bugs.openldap.org/show_bug.cgi?id=9215
--- Comment #13 from Ryan Tandy ryan@openldap.org --- (In reply to Konstantin Andreev from comment #11)
You made a new bug. This:
#ifndef _GNU_SOURCE #define _GNU_SOURCE 1 /* For pthread_setconcurrency() on glibc */ #endif
defines _GNU_SOURCE on any system, even not GNU.
I thought that should have been harmless, as it's documented as "specific to Linux (glibc)". In any case it should be done properly now. Thanks Howard for figuring out a better solution.