summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/build_config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/build_config.h b/build/build_config.h
index 824e31e..43d36f0 100644
--- a/build/build_config.h
+++ b/build/build_config.h
@@ -19,6 +19,10 @@
#define OS_MACOSX 1
#elif defined(__linux__)
#define OS_LINUX 1
+// Use TOOLKIT_GTK on linux if TOOLKIT_VIEWS isn't defined.
+#if !defined(TOOLKIT_VIEWS)
+#define TOOLKIT_GTK
+#endif
#elif defined(_WIN32)
#define OS_WIN 1
#else