aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxxmsvc/.yandex_meta/patches/55-assert.patch
blob: 2f98f29e4abee358b3126d2d8caa2d15a27d0305 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/assert.cpp b/src/assert.cpp
index 40c51f8..21a3863 100644
--- a/src/assert.cpp
+++ b/src/assert.cpp
@@ -28,7 +28,7 @@ _LIBCPP_NORETURN void __libcpp_abort_debug_function(__libcpp_debug_info const& i
     std::abort();
 }
 
-constinit __libcpp_debug_function_type __libcpp_debug_function = __libcpp_abort_debug_function;
+_LIBCPP_CONSTINIT __libcpp_debug_function_type __libcpp_debug_function = __libcpp_abort_debug_function;
 
 bool __libcpp_set_debug_function(__libcpp_debug_function_type __func) {
   __libcpp_debug_function = __func;