summaryrefslogtreecommitdiff
path: root/config_host
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-19 15:21:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-19 15:25:53 +0200
commit0032fc0385679d15992fb1a2e8dc0ff1c228c911 (patch)
treedb496b855533e0810fa9a18b85b62d8cd395eca4 /config_host
parenta38f8c2228f15611136ad6a4b69d77e167a2b781 (diff)
Fix check for broken standard library
The compiler's __GNUC__ etc. need not match the libstdc++ version used (esp. when using Clang as compiler), and libstdc++'s __GLIBCXX__ macro doesn't inrease monotonically with version numbers, so resort to a configure check. Change-Id: I06de6b68324169863f6f5c31ae5d855e8b04cd6b
Diffstat (limited to 'config_host')
-rw-r--r--config_host/config_global.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config_host/config_global.h.in b/config_host/config_global.h.in
index 807d599b8046..a029ff53c7e7 100644
--- a/config_host/config_global.h.in
+++ b/config_host/config_global.h.in
@@ -22,6 +22,7 @@ Any change in this header will cause a rebuild of almost everything.
#define HAVE_GCC_PRAGMA_OPERATOR 0
#define HAVE_GCC_DEPRECATED_MESSAGE 0
#define HAVE_THREADSAFE_STATICS 0
+#define HAVE_BROKEN_CONST_ITERATORS 0
#define HAVE_BROKEN_STATIC_INITILIZER_LIST 0
#define HAVE_SYSLOG_H 0
/* Compiler supports __attribute__((warn_unused)). */