summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2018-07-13 17:31:36 +0000
committerMarshall Clow <mclow.lists@gmail.com>2018-07-13 17:31:36 +0000
commit75c4f5552ea38368b770dea4da3437350c99e9c1 (patch)
tree2413aacba2872fd7bd8c4342608e6e85559f0a7d
parent2d1d690863f4df7157f35f2a6d1c666e9ebaf24a (diff)
downloadbcm5719-llvm-75c4f5552ea38368b770dea4da3437350c99e9c1.tar.gz
bcm5719-llvm-75c4f5552ea38368b770dea4da3437350c99e9c1.zip
wrap _LIBCPP_HAS_NO_CXX14_CONSTEXPR in defined(...)
llvm-svn: 337028
-rw-r--r--libcxx/include/__config2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config
index 65df5ddb93f..49b8fd79f97 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -1024,7 +1024,7 @@ template <unsigned> struct __static_assert_check {};
#endif
#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
#else
#define _LIBCPP_CONSTEXPR_IF_NODEBUG constexpr
OpenPOWER on IntegriCloud