[cfe-commits] [libcxx] r115540 - /libcxx/trunk/include/__config

Howard Hinnant hhinnant at apple.com
Mon Oct 4 12:01:30 PDT 2010


Author: hhinnant
Date: Mon Oct  4 14:01:30 2010
New Revision: 115540

URL: http://llvm.org/viewvc/llvm-project?rev=115540&view=rev
Log:
__has_feature crutch

Modified:
    libcxx/trunk/include/__config

Modified: libcxx/trunk/include/__config
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__config?rev=115540&r1=115539&r2=115540&view=diff
==============================================================================
--- libcxx/trunk/include/__config (original)
+++ libcxx/trunk/include/__config Mon Oct  4 14:01:30 2010
@@ -249,4 +249,8 @@
 #define constexpr const
 #endif
 
+#ifndef __has_feature(__x)
+#define __has_feature(__x) 0
+#endif
+
 #endif  // _LIBCPP_CONFIG





More information about the cfe-commits mailing list