ITS#9215 Define _XOPEN_SOURCE for glibc only

This commit is contained in:
Ryan Tandy 2020-04-23 13:18:10 -07:00
parent 7b0017ad49
commit e9543da971

View file

@ -14,7 +14,9 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#define _XOPEN_SOURCE 500 /* For pthread_setconcurrency() on glibc */
#ifdef __GLIBC__
#define _XOPEN_SOURCE 500 /* For pthread_setconcurrency() */
#endif
#include "portable.h"