mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-27 03:20:22 +08:00
ITS#9215 fix for glibc again
This commit is contained in:
parent
d38d48fc8f
commit
fd23680a44
@ -14,14 +14,16 @@
|
||||
* <http://www.OpenLDAP.org/license.html>.
|
||||
*/
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE 1 /* For pthread_setconcurrency() on glibc */
|
||||
#endif
|
||||
|
||||
#include "portable.h"
|
||||
|
||||
#if defined( HAVE_PTHREADS )
|
||||
|
||||
#ifdef __GLIBC__
|
||||
#undef _FEATURES_H
|
||||
#define _XOPEN_SOURCE 500 /* For pthread_setconcurrency() on glibc */
|
||||
#endif
|
||||
|
||||
#include <ac/errno.h>
|
||||
|
||||
#ifdef REPLACE_BROKEN_YIELD
|
||||
|
Loading…
Reference in New Issue
Block a user