summaryrefslogtreecommitdiffstats
path: root/libcxx/src
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2012-04-03 23:45:46 +0000
committerHoward Hinnant <hhinnant@apple.com>2012-04-03 23:45:46 +0000
commit7e5b4c932850a0cf28c6439b6f3045eb53e47a5c (patch)
tree1cab2e3bd9661a4be8fa78805913343cad213894 /libcxx/src
parent3e66d7325977a6ebc5644329db895f50b483c14f (diff)
downloadbcm5719-llvm-7e5b4c932850a0cf28c6439b6f3045eb53e47a5c.tar.gz
bcm5719-llvm-7e5b4c932850a0cf28c6439b6f3045eb53e47a5c.zip
Put std::piecewise_construct_t back into the dylib for ABI stability. When clients are in C++11/constexpr mode this will be safely ignored because piecewise_construct is then declared with internal linkage.
llvm-svn: 153981
Diffstat (limited to 'libcxx/src')
-rw-r--r--libcxx/src/utility.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libcxx/src/utility.cpp b/libcxx/src/utility.cpp
index deb5ffa0077..e9830e7c24f 100644
--- a/libcxx/src/utility.cpp
+++ b/libcxx/src/utility.cpp
@@ -7,12 +7,11 @@
//
//===----------------------------------------------------------------------===//
+#define _LIBCPP_BUILDING_UTILITY
#include "utility"
_LIBCPP_BEGIN_NAMESPACE_STD
-#ifdef _LIBCPP_HAS_NO_CONSTEXPR
const piecewise_construct_t piecewise_construct = {};
-#endif
_LIBCPP_END_NAMESPACE_STD
OpenPOWER on IntegriCloud