aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorAndrey Khalyavin <halyavin@gmail.com>2022-06-10 13:04:32 +0300
committerAndrey Khalyavin <halyavin@gmail.com>2022-06-10 13:04:32 +0300
commit69e2e11c280ce89fd5b2dadbd665b2044e652066 (patch)
treef0b06b356d1a7baedc97381af6fa869b239d983f /contrib
parentcc71ba34a990d5d652ca708abe5ce94b716975d3 (diff)
downloadydb-69e2e11c280ce89fd5b2dadbd665b2044e652066.tar.gz
Fix windows build.
Our compiler actually supports __builtin_is_constant_evaluated(). ref:ec62fe37948426003ae47ef4e494eaab880f0d70
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/__config3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/__config b/contrib/libs/cxxsupp/libcxx/include/__config
index 973a3bb49d..e62fe2efd6 100644
--- a/contrib/libs/cxxsupp/libcxx/include/__config
+++ b/contrib/libs/cxxsupp/libcxx/include/__config
@@ -654,6 +654,9 @@ typedef __char32_t char32_t;
#undef __has_builtin
#define __has_builtin(x) __has_builtin_##x
#define __has_builtin___builtin_addressof 1
+#if _MSC_VER >= 1925
+#define __has_builtin___builtin_is_constant_evaluated 1
+#endif
#define _LIBCPP_WEAK