summaryrefslogtreecommitdiff
path: root/libxml.h
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-03-10 09:22:07 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-03-10 09:22:07 +0000
commitc0c6ce29187750f736ba26e7182bdc93fd617bcc (patch)
treed08295418947adc65c9cfe21a8d7e147400acb45 /libxml.h
parent7f3efa9756e26f98876c54b7f7c5fc1093af6a2d (diff)
downloadlibxml2-c0c6ce29187750f736ba26e7182bdc93fd617bcc.tar.gz
some gcc4 portability patches, including a serious aliasing bug exposed in
* include/libxml/hash.h libxml.h libxml.spec.in: some gcc4 portability patches, including a serious aliasing bug exposed in s390 when trying to convert data pointer to code pointer. Daniel
Diffstat (limited to 'libxml.h')
-rw-r--r--libxml.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libxml.h b/libxml.h
index e9974620..89ec5955 100644
--- a/libxml.h
+++ b/libxml.h
@@ -54,9 +54,11 @@ void __xmlLoaderErr(void *ctx, const char *msg, const char *filename);
#ifdef __GNUC__
#ifdef PIC
#ifdef linux
+#if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || (__GNUC__ > 3)
#include "elfgcchack.h"
#endif
#endif
#endif
#endif
+#endif
#endif /* ! __XML_LIBXML_H__ */