Chromium Code Reviews| Index: Source/config.h |
| diff --git a/Source/config.h b/Source/config.h |
| index f5f8c4497fcb5cf5a87bc3e4637ff67f6995f52e..e602c70c2fc3c2f5bb59546899c8a49625910139 100644 |
| --- a/Source/config.h |
| +++ b/Source/config.h |
| @@ -135,3 +135,10 @@ |
| #include <cstddef> |
| #endif |
| + |
| +// Adopted from base/compiler_specific.h where you can find a detailed explanation. |
| +#if COMPILER(MSVC) |
| +#define STATIC_CONST_MEMBER_DEFINITION __declspec(selectany) |
| +#else |
| +#define STATIC_CONST_MEMBER_DEFINITION |
| +#endif |