From 9a7d5afb37c6738d1d9d29e95473a296e4bdc76a Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Tue, 20 Feb 2007 19:42:14 +0000 Subject: [PATCH] * gdb_expat.h (XMLCALL): Define if not already defined. --- gdb/ChangeLog | 4 ++++ gdb/gdb_expat.h | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6e1e3d490c4..5ca65528f62 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2007-02-20 Joel Brobecker + + * gdb_expat.h (XMLCALL): Define if not already defined. + 2007-02-20 Andreas Schwab * Makefile.in (symfile.o): Update dependencies. diff --git a/gdb/gdb_expat.h b/gdb/gdb_expat.h index 4f40bf617a5..ad85a458595 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) */ -- 2.30.2