Chromium Code Reviews| Index: Source/config.h |
| diff --git a/Source/config.h b/Source/config.h |
| index 3eb6b284b0a04c43c20bc17ce74675f477ece2f3..4e95ae78130ff4e6633d1e0407b34e4dd3c31ba3 100644 |
| --- a/Source/config.h |
| +++ b/Source/config.h |
| @@ -88,6 +88,11 @@ |
| #define WTF_OS_POSIX 1 |
| #endif |
| +/* There is an assumption in the project that either OS(WIN) or OS(POSIX) is set. */ |
| +#if !OS(WIN) && !OS(POSIX) |
| +#error Either OS(WIN) or OS(POSIX) needs to be set. |
| +#endif |
| + |
| /* Operating environments */ |
| #if OS(ANDROID) |