aboutsummaryrefslogtreecommitdiff
path: root/include/experimental/tuple
diff options
context:
space:
mode:
Diffstat (limited to 'include/experimental/tuple')
-rw-r--r--include/experimental/tuple12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/experimental/tuple b/include/experimental/tuple
index 1f37a6293bac..6d71bb559b02 100644
--- a/include/experimental/tuple
+++ b/include/experimental/tuple
@@ -7,5 +7,15 @@
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
+#ifndef _LIBCPP_EXPERIMENTAL_TUPLE
+#define _LIBCPP_EXPERIMENTAL_TUPLE
-#error "<experimental/tuple> has been removed. Use <tuple> instead."
+#include <__config>
+
+#ifdef _LIBCPP_WARNING
+_LIBCPP_WARNING("<experimental/tuple> has been removed. Use <tuple> instead.")
+#else
+# warning "<experimental/tuple> has been removed. Use <tuple> instead."
+#endif
+
+#endif // _LIBCPP_EXPERIMENTAL_TUPLE