Эх сурвалжийг харах

wrap _LIBCPP_HAS_NO_CXX14_CONSTEXPR in defined(...)


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@337028 91177308-0d34-0410-b5e6-96231b3b80d8
Marshall Clow 7 жил өмнө
parent
commit
1548d77c82

+ 1 - 1
include/__config

@@ -1024,7 +1024,7 @@ template <unsigned> struct __static_assert_check {};
 #endif
 #endif
 
 
 #ifndef _LIBCPP_CONSTEXPR_IF_NODEBUG
 #ifndef _LIBCPP_CONSTEXPR_IF_NODEBUG
-#if defined(_LIBCPP_DEBUG) || _LIBCPP_HAS_NO_CXX14_CONSTEXPR
+#if defined(_LIBCPP_DEBUG) || defined(_LIBCPP_HAS_NO_CXX14_CONSTEXPR)
 #define _LIBCPP_CONSTEXPR_IF_NODEBUG
 #define _LIBCPP_CONSTEXPR_IF_NODEBUG
 #else
 #else
 #define _LIBCPP_CONSTEXPR_IF_NODEBUG constexpr
 #define _LIBCPP_CONSTEXPR_IF_NODEBUG constexpr