summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxx/include/__config4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config
index 9540a11411b..7cc07fac3a0 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -249,4 +249,8 @@ template <unsigned> struct __static_assert_check {};
#define constexpr const
#endif
+#ifndef __has_feature(__x)
+#define __has_feature(__x) 0
+#endif
+
#endif // _LIBCPP_CONFIG
OpenPOWER on IntegriCloud