Shot in the dark to fix gcc 4.9 / c++11 build

llvm-svn: 337027
This commit is contained in:
Marshall Clow 2018-07-13 17:24:59 +00:00
parent 327e7a1608
commit 2d1d690863
1 changed files with 3 additions and 3 deletions

View File

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