Chromium Code Reviews| Index: build/build_config.h |
| diff --git a/build/build_config.h b/build/build_config.h |
| index 97eb397baca7edb5727beaafa67ea48179d11806..3ee3de5fada1ce1a25158cc123f930a686511c86 100644 |
| --- a/build/build_config.h |
| +++ b/build/build_config.h |
| @@ -31,7 +31,7 @@ |
| #elif defined(__linux__) |
| #define OS_LINUX 1 |
| // Use TOOLKIT_GTK on linux if TOOLKIT_VIEWS isn't defined. |
| -#if !defined(TOOLKIT_VIEWS) |
| +#if !defined(TOOLKIT_VIEWS) && defined(USE_X11) |
| #define TOOLKIT_GTK |
| #endif |
| #elif defined(_WIN32) |