libxx: fix __config_site for libcxx compile errors

The errors are 'No thread API' and '__ULong undefined'

Signed-off-by: v-zhangxiaomeng5 <v-zhangxiaomeng5@xiaomi.com>
This commit is contained in:
v-zhangxiaomeng5 2026-01-19 20:41:16 +08:00 committed by Xiang Xiao
parent bd2cce7f1a
commit c95b6b1bb6

View file

@ -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