summaryrefslogtreecommitdiff
path: root/config_host/config_global.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_global.h.in
parent151abb8b2b9d3a22229b98cec12e29484d12109b (diff)
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_global.h.in')
-rw-r--r--config_host/config_global.h.in27
1 files changed, 27 insertions, 0 deletions
diff --git a/config_host/config_global.h.in b/config_host/config_global.h.in
index 5e7150b44581..87033db7f066 100644
--- a/config_host/config_global.h.in
+++ b/config_host/config_global.h.in
@@ -13,11 +13,38 @@ Any change in this header will cause a rebuild of almost everything.
#define CONFIG_GLOBAL_H
#undef HAVE_CXX11_DELETE
+#ifndef HAVE_CXX11_DELETE
+#define HAVE_CXX11_DELETE 0
+#endif
+
#undef HAVE_CXX11_OVERRIDE
+#ifndef HAVE_CXX11_OVERRIDE
+#define HAVE_CXX11_OVERRIDE 0
+#endif
+
#undef HAVE_CXX11_PERFECT_FORWARDING
+#ifndef HAVE_CXX11_PERFECT_FORWARDING
+#define HAVE_CXX11_PERFECT_FORWARDING 0
+#endif
+
#undef HAVE_GCC_BUILTIN_ATOMIC
+#ifndef HAVE_GCC_BUILTIN_ATOMIC
+#define HAVE_GCC_BUILTIN_ATOMIC 0
+#endif
+
#undef HAVE_SFINAE_ANONYMOUS_BROKEN
+#ifndef HAVE_SFINAE_ANONYMOUS_BROKEN
+#define HAVE_SFINAE_ANONYMOUS_BROKEN 0
+#endif
+
#undef HAVE_THREADSAFE_STATICS
+#ifndef HAVE_THREADSAFE_STATICS
+#define HAVE_THREADSAFE_STATICS 0
+#endif
+
#undef HAVE_SYSLOG_H
+#ifndef HAVE_SYSLOG_H
+#define HAVE_SYSLOG_H 0
+#endif
#endif