Commit fd23680a authored by Howard Chu's avatar Howard Chu
Browse files

ITS#9215 fix for glibc again

parent d38d48fc
Pipeline #298 failed with stage
in 30 minutes and 29 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment