diff --git a/libs/libxx/__config_site b/libs/libxx/__config_site index 26aac033f47..f305d6ffd3e 100644 --- a/libs/libxx/__config_site +++ b/libs/libxx/__config_site @@ -18,7 +18,7 @@ /* #undef _LIBCPP_HAS_NO_THREADS */ /* #undef _LIBCPP_HAS_NO_MONOTONIC_CLOCK */ /* #undef _LIBCPP_HAS_MUSL_LIBC */ -/* #undef _LIBCPP_HAS_THREAD_API_PTHREAD */ +#define _LIBCPP_HAS_THREAD_API_PTHREAD 1 /* #undef _LIBCPP_HAS_THREAD_API_EXTERNAL */ /* #undef _LIBCPP_HAS_THREAD_API_WIN32 */ /* #undef _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS */ @@ -56,13 +56,14 @@ # pragma clang diagnostic ignored "-Wmacro-redefined" #endif - - - #ifdef __clang__ # pragma clang diagnostic pop #endif #define _SYS_REENT_H_ +#ifndef __ULong +#define __ULong unsigned long +#endif + #endif // _LIBCPP___CONFIG_SITE