diff options
Diffstat (limited to 'build/build_config.h')
-rw-r--r-- | build/build_config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build/build_config.h b/build/build_config.h index d8cea82..da7a37f 100644 --- a/build/build_config.h +++ b/build/build_config.h @@ -36,6 +36,12 @@ #error Please add support for your platform in build/build_config.h #endif +// A flag derived from the above flags, used to cover GTK code in +// both TOOLKIT_GTK and TOOLKIT_VIEWS. +#if defined(TOOLKIT_GTK) || (defined(TOOLKIT_VIEWS) && !defined(OS_WIN)) +#define TOOLKIT_USES_GTK 1 +#endif + #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_OPENBSD) #define USE_NSS 1 // Use NSS for crypto. #define USE_X11 1 // Use X for graphics. |