From: Ryan Tandy Date: Sun, 26 Apr 2020 19:01:12 +0000 (-0700) Subject: ITS#9215 Fix previous commit X-Git-Tag: OPENLDAP_REL_ENG_2_5_0ALPHA~41^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4a50fa745d166233d036dee2dfb5990fdca8334b;p=thirdparty%2Fopenldap.git ITS#9215 Fix previous commit --- diff --git a/libraries/libldap_r/thr_posix.c b/libraries/libldap_r/thr_posix.c index bdc9e5b779..3ea3d16f60 100644 --- a/libraries/libldap_r/thr_posix.c +++ b/libraries/libldap_r/thr_posix.c @@ -14,8 +14,8 @@ * . */ -#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"