The vcruntime headers are hairy and clash with both libc++ headers themselves and other libraries. libc++ normally deals with the clashes by deferring to the vcruntime headers and silencing its own definitions, but for clients which don't want to depend on vcruntime headers, it's desirable to support the opposite, i.e. have libc++ provide its own definitions. Certain operator new/delete replacement scenarios are not currently supported in this mode, which requires some tests to be marked XFAIL. The added documentation has more details. Differential Revision: https://reviews.llvm.org/D38522 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@315234 91177308-0d34-0410-b5e6-96231b3b80d8
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
//===----------------------------------------------------------------------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is dual licensed under the MIT and the University of Illinois Open
|
|
// Source Licenses. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef _LIBCPP_CONFIG_SITE
|
|
#define _LIBCPP_CONFIG_SITE
|
|
|
|
#cmakedefine _LIBCPP_ABI_VERSION @_LIBCPP_ABI_VERSION@
|
|
#cmakedefine _LIBCPP_ABI_UNSTABLE
|
|
#cmakedefine _LIBCPP_ABI_FORCE_ITANIUM
|
|
#cmakedefine _LIBCPP_ABI_FORCE_MICROSOFT
|
|
#cmakedefine _LIBCPP_HAS_NO_GLOBAL_FILESYSTEM_NAMESPACE
|
|
#cmakedefine _LIBCPP_HAS_NO_STDIN
|
|
#cmakedefine _LIBCPP_HAS_NO_STDOUT
|
|
#cmakedefine _LIBCPP_HAS_NO_THREADS
|
|
#cmakedefine _LIBCPP_HAS_NO_MONOTONIC_CLOCK
|
|
#cmakedefine _LIBCPP_HAS_NO_THREAD_UNSAFE_C_FUNCTIONS
|
|
#cmakedefine _LIBCPP_HAS_MUSL_LIBC
|
|
#cmakedefine _LIBCPP_HAS_THREAD_API_PTHREAD
|
|
#cmakedefine _LIBCPP_HAS_THREAD_API_EXTERNAL
|
|
#cmakedefine _LIBCPP_HAS_THREAD_LIBRARY_EXTERNAL
|
|
#cmakedefine _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
|
|
#cmakedefine _LIBCPP_NO_VCRUNTIME
|
|
|
|
@_LIBCPP_ABI_DEFINES@
|
|
|
|
#endif // _LIBCPP_CONFIG_SITE
|