From 4a50fa745d166233d036dee2dfb5990fdca8334b Mon Sep 17 00:00:00 2001 From: Ryan Tandy Date: Sun, 26 Apr 2020 12:01:12 -0700 Subject: [PATCH] ITS#9215 Fix previous commit --- libraries/libldap_r/thr_posix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"