81 lines · c
1//===----------------------------------------------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef _LIBCPP___CXX03___CONFIGURATION_CONFIG_SITE_SHIM_H10#define _LIBCPP___CXX03___CONFIGURATION_CONFIG_SITE_SHIM_H11 12#include <__config_site>13 14#if !_LIBCPP_ABI_FORCE_ITANIUM15# undef _LIBCPP_ABI_FORCE_ITANIUM16#endif17 18#if !_LIBCPP_ABI_FORCE_MICROSOFT19# undef _LIBCPP_ABI_FORCE_MICROSOFT20#endif21 22#if !_LIBCPP_HAS_THREADS23# define _LIBCPP_HAS_NO_THREADS24#endif25 26#if !_LIBCPP_HAS_MONOTONIC_CLOCK27# define _LIBCPP_HAS_NO_MONOTONIC_CLOCK28#endif29 30#if !_LIBCPP_HAS_MUSL_LIBC31# undef _LIBCPP_HAS_MUSL_LIBC32#endif33 34#if !_LIBCPP_HAS_THREAD_API_PTHREAD35# undef _LIBCPP_HAS_THREAD_API_PTHREAD36#endif37 38#if !_LIBCPP_HAS_THREAD_API_EXTERNAL39# undef _LIBCPP_HAS_THREAD_API_EXTERNAL40#endif41 42#if !_LIBCPP_HAS_THREAD_API_WIN3243# undef _LIBCPP_HAS_THREAD_API_WIN3244#endif45 46#undef _LIBCPP_HAS_THREAD_API_C1147 48#if !_LIBCPP_HAS_VENDOR_AVAILABILITY_ANNOTATIONS49# define _LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS50#endif51 52#if !_LIBCPP_HAS_FILESYSTEM53# define _LIBCPP_HAS_NO_FILESYSTEM54#endif55 56#if !_LIBCPP_HAS_RANDOM_DEVICE57# define _LIBCPP_HAS_NO_RANDOM_DEVICE58#endif59 60#if !_LIBCPP_HAS_LOCALIZATION61# define _LIBCPP_HAS_NO_LOCALIZATION62#endif63 64#if !_LIBCPP_HAS_UNICODE65# define _LIBCPP_HAS_NO_UNICODE66#endif67 68#if !_LIBCPP_HAS_WIDE_CHARACTERS69# define _LIBCPP_HAS_NO_WIDE_CHARACTERS70#endif71 72#if !_LIBCPP_HAS_TIME_ZONE_DATABASE73# define _LIBCPP_HAS_NO_TIME_ZONE_DATABASE74#endif75 76#if !_LIBCPP_INSTRUMENTED_WITH_ASAN77# undef _LIBCPP_INSTRUMENTED_WITH_ASAN78#endif79 80#endif // _LIBCPP___CXX03___CONFIGURATION_CONFIG_SITE_SHIM_H81