diff options
author | Howard Hinnant <hhinnant@apple.com> | 2012-04-03 21:09:48 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2012-04-03 21:09:48 +0000 |
commit | b2e9f19caf6c834df9c5d2e7d132ce4af5170845 (patch) | |
tree | ff2dd1e1711fe61e438589b8699e88647bda0c39 /libcxx/src | |
parent | 13668f2083baa01092b451bec85c77a92c032530 (diff) | |
download | bcm5719-llvm-b2e9f19caf6c834df9c5d2e7d132ce4af5170845.tar.gz bcm5719-llvm-b2e9f19caf6c834df9c5d2e7d132ce4af5170845.zip |
constexpr support for <utility>. Patch contributed by Jonathan Sauer.
llvm-svn: 153968
Diffstat (limited to 'libcxx/src')
-rw-r--r-- | libcxx/src/utility.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/src/utility.cpp b/libcxx/src/utility.cpp index 7dccffb73e5..deb5ffa0077 100644 --- a/libcxx/src/utility.cpp +++ b/libcxx/src/utility.cpp @@ -11,6 +11,8 @@ _LIBCPP_BEGIN_NAMESPACE_STD +#ifdef _LIBCPP_HAS_NO_CONSTEXPR const piecewise_construct_t piecewise_construct = {}; +#endif _LIBCPP_END_NAMESPACE_STD |