Chromium Code Reviews| Index: sky/engine/wtf/Assertions.h |
| diff --git a/sky/engine/wtf/Assertions.h b/sky/engine/wtf/Assertions.h |
| index 9922cc7fa26678a91042318649bed3a3fcdc6ca3..bd88ebc987f12ce48a17e5acd42a38554655ced8 100644 |
| --- a/sky/engine/wtf/Assertions.h |
| +++ b/sky/engine/wtf/Assertions.h |
| @@ -282,14 +282,8 @@ while (0) |
| /* COMPILE_ASSERT */ |
| #ifndef COMPILE_ASSERT |
| -#if COMPILER_SUPPORTS(C_STATIC_ASSERT) |
| /* Unlike static_assert below, this also works in plain C code. */ |
| #define COMPILE_ASSERT(exp, name) _Static_assert((exp), #name) |
| -#elif COMPILER_SUPPORTS(CXX_STATIC_ASSERT) |
|
eseidel
2014/11/12 00:20:34
This isn't needed because both are always supporte
|
| -#define COMPILE_ASSERT(exp, name) static_assert((exp), #name) |
| -#else |
| -#define COMPILE_ASSERT(exp, name) typedef int dummy##name [(exp) ? 1 : -1] |
| -#endif |
| #endif |
| /* FATAL */ |