Chromium Code Reviews| Index: include/v8config.h |
| diff --git a/include/v8config.h b/include/v8config.h |
| index 991a43afd445c066eda7d5fc6e5d56209a5a0cf4..8e0cbd5ff588dd3915346c1603b6867626fee155 100644 |
| --- a/include/v8config.h |
| +++ b/include/v8config.h |
| @@ -199,8 +199,6 @@ |
| #if defined(__GNUC__) // Clang in gcc mode. |
| # define V8_CC_GNU 1 |
| -#elif defined(_MSC_VER) // Clang in cl mode. |
| -# define V8_CC_MSVC 1 |
| #endif |
| // Clang defines __alignof__ as alias for __alignof |
| @@ -268,11 +266,10 @@ |
| # define V8_HAS_CXX11_ALIGNOF (V8_GNUC_PREREQ(4, 8, 0)) |
| # define V8_HAS_CXX11_STATIC_ASSERT (V8_GNUC_PREREQ(4, 3, 0)) |
| # endif |
| +#endif |
| -#elif defined(_MSC_VER) |
| - |
| +#if defined(_MSC_VER) |
| # define V8_CC_MSVC 1 |
| - |
| # define V8_HAS___ALIGNOF 1 |
| # define V8_HAS_DECLSPEC_ALIGN 1 |
| @@ -281,10 +278,10 @@ |
| # define V8_HAS_DECLSPEC_SELECTANY 1 |
| # define V8_HAS___FORCEINLINE 1 |
| - |
| #endif |
|
Benedikt Meurer
2015/05/21 04:43:49
Nit: keep the empty line before the #endif.
hans
2015/05/21 15:25:45
Done.
|
| + |
| // ----------------------------------------------------------------------------- |
| // Helper macros |