forked from OSchip/llvm-project
Shot in the dark to fix gcc 4.9 / c++11 build
llvm-svn: 337027
This commit is contained in:
parent
327e7a1608
commit
2d1d690863
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue