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.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@153981 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/utility b/include/utility
index a12ed91..279d421 100644
--- a/include/utility
+++ b/include/utility
@@ -206,7 +206,7 @@
}
struct _LIBCPP_VISIBLE piecewise_construct_t { };
-#ifdef _LIBCPP_HAS_NO_CONSTEXPR
+#if defined(_LIBCPP_HAS_NO_CONSTEXPR) || defined(_LIBCPP_BUILDING_UTILITY)
extern const piecewise_construct_t piecewise_construct;// = piecewise_construct_t();
#else
constexpr piecewise_construct_t piecewise_construct = piecewise_construct_t();