mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
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:
parent
bd2cce7f1a
commit
c95b6b1bb6
1 changed files with 5 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue