From 26994e383c00471d23476a569b00803be0e201a4 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Mon, 4 Oct 2010 19:01:30 +0000 Subject: [PATCH] __has_feature crutch git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@115540 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/__config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/__config b/include/__config index 9540a114..7cc07fac 100644 --- a/include/__config +++ b/include/__config @@ -249,4 +249,8 @@ template struct __static_assert_check {}; #define constexpr const #endif +#ifndef __has_feature(__x) +#define __has_feature(__x) 0 +#endif + #endif // _LIBCPP_CONFIG