]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9215 Fix previous commit
authorRyan Tandy <ryan@nardis.ca>
Sun, 26 Apr 2020 19:01:12 +0000 (12:01 -0700)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 27 Apr 2020 20:06:52 +0000 (20:06 +0000)
libraries/libldap_r/thr_posix.c

index bdc9e5b77921cda15f1bf141df9bcf4a495a7d7e..3ea3d16f602295c4c09886a875a8602b707629e6 100644 (file)
@@ -14,8 +14,8 @@
  * <http://www.OpenLDAP.org/license.html>.
  */
 
-#ifdef __GLIBC__
-#define _XOPEN_SOURCE 500      /* For pthread_setconcurrency() */
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE 1          /* For pthread_setconcurrency() on glibc */
 #endif
 
 #include "portable.h"