diff options
author | theraven <theraven@FreeBSD.org> | 2012-05-03 17:44:07 +0000 |
---|---|---|
committer | theraven <theraven@FreeBSD.org> | 2012-05-03 17:44:07 +0000 |
commit | 011d8001e295ab428f3d73602d2e4fa0b248efc4 (patch) | |
tree | a0abba0a80f7ff64ba1a78df7fd8544414370f33 /contrib/libc++/include/__config | |
parent | 72d6cdcd97718bf58e38b0484a01bf5c6de14bc4 (diff) | |
download | FreeBSD-src-011d8001e295ab428f3d73602d2e4fa0b248efc4.zip FreeBSD-src-011d8001e295ab428f3d73602d2e4fa0b248efc4.tar.gz |
Import new version of libc++. Among other improvements, this comes with an
<atomic> header that works with clang 3.1 (and, importantly, the pre-3.1
snapshot currently in head)
Diffstat (limited to 'contrib/libc++/include/__config')
-rw-r--r-- | contrib/libc++/include/__config | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/libc++/include/__config b/contrib/libc++/include/__config index 6b29014..7cd01dc 100644 --- a/contrib/libc++/include/__config +++ b/contrib/libc++/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 |