aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_expat.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2007-02-20 19:42:14 +0000
committerJoel Brobecker <brobecker@gnat.com>2007-02-20 19:42:14 +0000
commit9a7d5afb37c6738d1d9d29e95473a296e4bdc76a (patch)
treec9c0fb86ece6ace8e8e9dda82c3f351c39449231 /gdb/gdb_expat.h
parent81de920dd0a932c1ce7a81c192ace9decee718ed (diff)
downloadgdb-9a7d5afb37c6738d1d9d29e95473a296e4bdc76a.zip
gdb-9a7d5afb37c6738d1d9d29e95473a296e4bdc76a.tar.gz
gdb-9a7d5afb37c6738d1d9d29e95473a296e4bdc76a.tar.bz2
* gdb_expat.h (XMLCALL): Define if not already defined.
Diffstat (limited to 'gdb/gdb_expat.h')
-rw-r--r--gdb/gdb_expat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/gdb_expat.h b/gdb/gdb_expat.h
index 4f40bf6..ad85a45 100644
--- a/gdb/gdb_expat.h
+++ b/gdb/gdb_expat.h
@@ -31,4 +31,10 @@
# define XML_STATUS_ERROR 0
#endif
+/* Old versions of expat do not define this macro, so define it
+ as void. */
+#ifndef XMLCALL
+#define XMLCALL
+#endif
+
#endif /* !defined(GDB_EXPAT_H) */