summaryrefslogtreecommitdiffstats
path: root/config_host/config_vclplug.h.in
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-03-19 16:44:12 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-03-20 11:34:18 +0100
commit52f8321c412cad280c9029f10f9aef03f4f20544 (patch)
tree9942cfe490f7107177ad69175be3039b0f20b32a /config_host/config_vclplug.h.in
parentuse -isystem instead of -I for 3rd party headers (diff)
downloadcore-52f8321c412cad280c9029f10f9aef03f4f20544.tar.gz
core-52f8321c412cad280c9029f10f9aef03f4f20544.zip
use #if instead of #ifdef for testing config_xxx.hxx macros
http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html Change-Id: I81ed4500878ff3193e028410a1f0205e28d17fc3
Diffstat (limited to 'config_host/config_vclplug.h.in')
-rw-r--r--config_host/config_vclplug.h.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/config_host/config_vclplug.h.in b/config_host/config_vclplug.h.in
index 46c6bd1aea77..9088a85185ef 100644
--- a/config_host/config_vclplug.h.in
+++ b/config_host/config_vclplug.h.in
@@ -8,8 +8,23 @@ Settings about which X11 desktops have support enabled.
#define CONFIG_VCLPLUG_H
#undef ENABLE_GTK
+#ifndef ENABLE_GTK
+#define ENABLE_GTK 0
+#endif
+
#undef ENABLE_KDE
+#ifndef ENABLE_KDE
+#define ENABLE_KDE 0
+#endif
+
#undef ENABLE_KDE4
+#ifndef ENABLE_KDE4
+#define ENABLE_KDE4 0
+#endif
+
#undef ENABLE_TDE
+#ifndef ENABLE_TDE
+#define ENABLE_TDE 0
+#endif
#endif