__throw* functions seem to be available in LLVM 4.0 or above.
[folly.git] / folly / portability / BitsFunctexcept.h
index 1c4b8c03df370fea9ea37f049622ef1faa1e4f62..7b44197bda7a45fcdb155d082ecb7ecbeb190115 100644 (file)
@@ -25,7 +25,7 @@
 #include <folly/Portability.h>
 FOLLY_NAMESPACE_STD_BEGIN
 
-#if (!defined(_LIBCPP_VERSION) || _LIBCPP_VERSION < 3900) && \
+#if (!defined(_LIBCPP_VERSION) || _LIBCPP_VERSION < 4000) && \
     !defined(FOLLY_SKIP_LIBCPP_4000_THROW_BACKPORTS)
 [[noreturn]] void __throw_length_error(const char* msg);
 [[noreturn]] void __throw_logic_error(const char* msg);