summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2010-10-04 19:01:30 +0000
committerHoward Hinnant <hhinnant@apple.com>2010-10-04 19:01:30 +0000
commitd5a97fc683f85fe20ce553899a733dc0603d6ef0 (patch)
tree1ab267b945a2873ed846a1b53687bf66c08cf3ba
parent2b672e24a55a282855757997d0e11535500dd555 (diff)
downloadbcm5719-llvm-d5a97fc683f85fe20ce553899a733dc0603d6ef0.tar.gz
bcm5719-llvm-d5a97fc683f85fe20ce553899a733dc0603d6ef0.zip
__has_feature crutch
llvm-svn: 115540
-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