| //===----------------------------------------------------------------------===// |
| // |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| // See https://llvm.org/LICENSE.txt for license information. |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| // |
| //===----------------------------------------------------------------------===// |
| |
| #ifndef _LIBCPP___CONFIG_SITE |
| #define _LIBCPP___CONFIG_SITE |
| |
| #include <nuttx/config.h> |
| |
| #define _LIBCPP_ABI_VERSION 1 |
| #define _LIBCPP_ABI_NAMESPACE __1 |
| /* #undef _LIBCPP_ABI_FORCE_ITANIUM */ |
| /* #undef _LIBCPP_ABI_FORCE_MICROSOFT */ |
| /* #undef _LIBCPP_HAS_NO_THREADS */ |
| /* #undef _LIBCPP_HAS_NO_MONOTONIC_CLOCK */ |
| /* #undef _LIBCPP_HAS_MUSL_LIBC */ |
| #define _LIBCPP_HAS_THREAD_API_PTHREAD 1 |
| /* #undef _LIBCPP_HAS_THREAD_API_EXTERNAL */ |
| /* #undef _LIBCPP_HAS_THREAD_API_WIN32 */ |
| /* #undef _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS */ |
| #define _LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS |
| /* #undef _LIBCPP_NO_VCRUNTIME */ |
| /* #undef _LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION */ |
| /* #undef _LIBCPP_HAS_NO_FILESYSTEM */ |
| /* #undef _LIBCPP_HAS_NO_RANDOM_DEVICE */ |
| #define _LIBCPP_HAS_NO_CONTENTION_TABLE |
| #if defined(CONFIG_CXX_NO_LOCALIZATION) |
| # define _LIBCPP_HAS_NO_LOCALIZATION |
| #elif defined(CONFIG_CXX_MINI_LOCALIZATION) |
| # define _LIBCPP_HAS_MINI_LOCALIZATION |
| #endif |
| #ifndef CONFIG_CXX_WCHAR |
| # define _LIBCPP_HAS_NO_WIDE_CHARACTERS |
| #endif |
| #define _LIBCPP_ENABLE_ASSERTIONS_DEFAULT 0 |
| |
| // PSTL backends |
| #define _LIBCPP_PSTL_CPU_BACKEND_SERIAL |
| /* #undef _LIBCPP_PSTL_CPU_BACKEND_THREAD */ |
| /* #undef _LIBCPP_PSTL_CPU_BACKEND_LIBDISPATCH */ |
| |
| // Hardening. |
| #define _LIBCPP_ENABLE_HARDENED_MODE_DEFAULT 0 |
| #define _LIBCPP_ENABLE_DEBUG_MODE_DEFAULT 0 |
| |
| #define _LIBCPP_DISABLE_DEPRECATION_WARNINGS 1 |
| #define _LIBCPP_AVAILABILITY_HAS_NO_VERBOSE_ABORT 1 |
| |
| // __USE_MINGW_ANSI_STDIO gets redefined on MinGW |
| #ifdef __clang__ |
| # pragma clang diagnostic push |
| # 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 |