Created
March 20, 2024 14:53
-
-
Save cogwheel/e60e31fecd44db13932ea9b48b2b106d to your computer and use it in GitHub Desktop.
quick & dirty site config for using some header-only parts of libcxx in llvm-mos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//===----------------------------------------------------------------------===// | |
// | |
// 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 | |
//#cmakedefine _LIBCPP_ABI_VERSION @_LIBCPP_ABI_VERSION@ | |
//#cmakedefine _LIBCPP_ABI_NAMESPACE @_LIBCPP_ABI_NAMESPACE@ | |
//#cmakedefine _LIBCPP_ABI_FORCE_ITANIUM | |
//#cmakedefine _LIBCPP_ABI_FORCE_MICROSOFT | |
#define _LIBCPP_HAS_NO_THREADS | |
#define _LIBCPP_HAS_NO_MONOTONIC_CLOCK | |
//#cmakedefine _LIBCPP_HAS_MUSL_LIBC | |
//#cmakedefine _LIBCPP_HAS_THREAD_API_PTHREAD | |
//#cmakedefine _LIBCPP_HAS_THREAD_API_EXTERNAL | |
//#cmakedefine _LIBCPP_HAS_THREAD_API_WIN32 | |
#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS | |
#define _LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS | |
#define _LIBCPP_NO_VCRUNTIME | |
//#cmakedefine _LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION @_LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION@ | |
#define _LIBCPP_HAS_NO_FILESYSTEM | |
#define _LIBCPP_HAS_NO_RANDOM_DEVICE | |
#define _LIBCPP_HAS_NO_LOCALIZATION | |
#define _LIBCPP_HAS_NO_WIDE_CHARACTERS | |
//#cmakedefine _LIBCPP_HAS_NO_STD_MODULES | |
// | |
//// PSTL backends | |
//#cmakedefine _LIBCPP_PSTL_CPU_BACKEND_SERIAL | |
//#cmakedefine _LIBCPP_PSTL_CPU_BACKEND_THREAD | |
//#cmakedefine _LIBCPP_PSTL_CPU_BACKEND_LIBDISPATCH | |
// | |
//// Hardening. | |
//#cmakedefine01 _LIBCPP_ENABLE_HARDENED_MODE_DEFAULT | |
//#cmakedefine01 _LIBCPP_ENABLE_DEBUG_MODE_DEFAULT | |
// __USE_MINGW_ANSI_STDIO gets redefined on MinGW | |
#ifdef __clang__ | |
# pragma clang diagnostic push | |
# pragma clang diagnostic ignored "-Wmacro-redefined" | |
#endif | |
//@_LIBCPP_ABI_DEFINES@ | |
//@_LIBCPP_EXTRA_SITE_DEFINES@ | |
#ifdef __clang__ | |
# pragma clang diagnostic pop | |
#endif | |
#endif // _LIBCPP___CONFIG_SITE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment