https://bugs.openldap.org/show_bug.cgi?id=9215
--- Comment #11 from Konstantin Andreev grapvar@gmail.com --- (In reply to Quanah Gibson-Mount from comment #10)
• 4a50fa74 by Ryan Tandy at 2020-04-27T20:06:52+00:00 ITS#9215 Fix previous commit
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.
Maybe what you wanted to do is
#ifndef __GLIBC__ #define _GNU_SOURCE 1 /* For pthread_setconcurrency() on glibc */ #endif
?