aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_expat.h
diff options
context:
space:
mode:
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) */