summaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxx/patches/82-fix-apple-clang-version-number.patch
blob: f38150388b5257d049bf05fbca5aec72e99a6ea4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/__assertion_handler b/include/__assertion_handler
index 8f37b90..e12cccc 100644
--- a/include/__assertion_handler
+++ b/include/__assertion_handler
@@ -27,7 +27,7 @@
 // AppleClang shipped a slightly different version of __builtin_verbose_trap from the upstream
 // version before upstream Clang actually got the builtin.
 // TODO: Remove once AppleClang supports the two-arguments version of the builtin.
-#    if defined(_LIBCPP_APPLE_CLANG_VER) && _LIBCPP_APPLE_CLANG_VER < 17000
+#    if defined(_LIBCPP_APPLE_CLANG_VER) && _LIBCPP_APPLE_CLANG_VER < 1700
 #      define _LIBCPP_ASSERTION_HANDLER(message) __builtin_verbose_trap(message)
 #    else
 #      define _LIBCPP_ASSERTION_HANDLER(message) __builtin_verbose_trap("libc++", message)