__throw* functions seem to be available in LLVM 4.0 or above.
[folly.git] / folly / portability / BitsFunctexcept.cpp
index 1a52e96f44f3377c88e3eaa41df0fcbbc13a7a93..a8bac63ef17f1f2f4f85c830555844dfec136d12 100644 (file)
@@ -21,7 +21,7 @@
 
 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)
 void __throw_length_error(const char* msg) {
   throw std::length_error(msg);