diff options
Diffstat (limited to 'libcxx/include/__config')
-rw-r--r-- | libcxx/include/__config | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config index 6b290145858..7cd01dc1b55 100644 --- a/libcxx/include/__config +++ b/libcxx/include/__config @@ -384,7 +384,9 @@ template <unsigned> struct __static_assert_check {}; #endif #ifdef _LIBCPP_HAS_NO_CONSTEXPR -#define constexpr const +#define _LIBCPP_CONSTEXPR +#else +#define _LIBCPP_CONSTEXPR constexpr #endif #ifndef __has_feature |