diff options
| author | mikhnenko <[email protected]> | 2023-10-11 11:15:58 +0300 |
|---|---|---|
| committer | mikhnenko <[email protected]> | 2023-10-11 12:05:11 +0300 |
| commit | 84c5d4bb733b49d5f9f36dbf0c22ec200d9e6334 (patch) | |
| tree | 8dc43a7531874e613966d58a48af6acda89954fe /contrib/libs/cxxsupp/libcxx/src/system_error.cpp | |
| parent | b95dc8e862f26368aa0275e2571eefe238c1951e (diff) | |
Upd libc++ to 0cc34ca7ecfc9d0efee322f60ed6c3169f4f70ca (12 Apr 2022)
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/src/system_error.cpp')
| -rw-r--r-- | contrib/libs/cxxsupp/libcxx/src/system_error.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/src/system_error.cpp b/contrib/libs/cxxsupp/libcxx/src/system_error.cpp index 66db76c37b5..ba5fa8f30b2 100644 --- a/contrib/libs/cxxsupp/libcxx/src/system_error.cpp +++ b/contrib/libs/cxxsupp/libcxx/src/system_error.cpp @@ -6,8 +6,12 @@ // //===----------------------------------------------------------------------===// -#include <__assert> #include <__config> +#ifdef _LIBCPP_DEPRECATED_ABI_LEGACY_LIBRARY_DEFINITIONS_FOR_INLINE_FUNCTIONS +# define _LIBCPP_ERROR_CATEGORY_DEFINE_LEGACY_INLINE_FUNCTIONS +#endif + +#include <__assert> #include <cerrno> #include <cstdio> #include <cstdlib> @@ -26,7 +30,7 @@ _LIBCPP_BEGIN_NAMESPACE_STD // class error_category -#if defined(_LIBCPP_DEPRECATED_ABI_LEGACY_LIBRARY_DEFINITIONS_FOR_INLINE_FUNCTIONS) +#if defined(_LIBCPP_ERROR_CATEGORY_DEFINE_LEGACY_INLINE_FUNCTIONS) error_category::error_category() noexcept { } |
