diff options
| author | thegeorg <[email protected]> | 2025-01-08 21:18:36 +0300 |
|---|---|---|
| committer | thegeorg <[email protected]> | 2025-01-08 21:32:52 +0300 |
| commit | bd0a6cfde3290e646613dba27e457cdada3b4501 (patch) | |
| tree | 8748dafc753b6761bb19d19f980d9621c7fa0cf9 /contrib/libs/cxxsupp/libcxx/src/support | |
| parent | 9b668f4d12c7d6fc709ffc4ab3b87a7e8aef8e2f (diff) | |
libcxx: Identify libcxxrt by -DLIBCXXRT, just as the upstream does
commit_hash:77f8b13c7ed5331b212f0c1b6c3cf9f856a168e4
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/src/support')
| -rw-r--r-- | contrib/libs/cxxsupp/libcxx/src/support/runtime/exception_libcxxrt.ipp | 2 | ||||
| -rw-r--r-- | contrib/libs/cxxsupp/libcxx/src/support/runtime/stdexcept_default.ipp | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/src/support/runtime/exception_libcxxrt.ipp b/contrib/libs/cxxsupp/libcxx/src/support/runtime/exception_libcxxrt.ipp index 82f60f5048b..f17fecc71e3 100644 --- a/contrib/libs/cxxsupp/libcxx/src/support/runtime/exception_libcxxrt.ipp +++ b/contrib/libs/cxxsupp/libcxx/src/support/runtime/exception_libcxxrt.ipp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// -#ifndef LIBCXX_BUILDING_LIBCXXRT +#ifndef LIBCXXRT # error this header may only be used when targeting libcxxrt #endif diff --git a/contrib/libs/cxxsupp/libcxx/src/support/runtime/stdexcept_default.ipp b/contrib/libs/cxxsupp/libcxx/src/support/runtime/stdexcept_default.ipp index f2bb2ea3e75..1f47a0325d7 100644 --- a/contrib/libs/cxxsupp/libcxx/src/support/runtime/stdexcept_default.ipp +++ b/contrib/libs/cxxsupp/libcxx/src/support/runtime/stdexcept_default.ipp @@ -9,8 +9,7 @@ #include "../../include/refstring.h" /* For _LIBCPPABI_VERSION */ -#if !defined(_LIBCPP_BUILDING_HAS_NO_ABI_LIBRARY) && \ - (defined(LIBCXX_BUILDING_LIBCXXABI) || defined(LIBCXX_BUILDING_LIBCXXRT)) +#if !defined(_LIBCPP_BUILDING_HAS_NO_ABI_LIBRARY) && (defined(LIBCXX_BUILDING_LIBCXXABI) || defined(LIBCXXRT)) # include <cxxabi.h> #endif |
