Chromium Code Reviews| Index: base/compiler_specific.h |
| diff --git a/base/compiler_specific.h b/base/compiler_specific.h |
| index 339e9b74e9c2ce4a22704f922134f5badd48b3e1..1667d731ab1985c76949179cb9f3be0b7952aab5 100644 |
| --- a/base/compiler_specific.h |
| +++ b/base/compiler_specific.h |
| @@ -187,4 +187,10 @@ |
| #endif // defined(COMPILER_GCC) |
| #endif // !defined(UNLIKELY) |
| +// Compiler feature-detection. |
| +// http://clang.llvm.org/docs/LanguageExtensions.html |
| +#if !defined(__has_feature) |
| +#define __has_feature(FEATURE) 0 |
|
Nico
2016/04/05 18:43:38
Hm, names starting with __ are reserved for the im
|
| +#endif |
| + |
| #endif // BASE_COMPILER_SPECIFIC_H_ |