diff options
author | Joel Brobecker <brobecker@gnat.com> | 2007-02-20 19:42:14 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2007-02-20 19:42:14 +0000 |
commit | 9a7d5afb37c6738d1d9d29e95473a296e4bdc76a (patch) | |
tree | c9c0fb86ece6ace8e8e9dda82c3f351c39449231 /gdb | |
parent | 81de920dd0a932c1ce7a81c192ace9decee718ed (diff) | |
download | gdb-9a7d5afb37c6738d1d9d29e95473a296e4bdc76a.zip gdb-9a7d5afb37c6738d1d9d29e95473a296e4bdc76a.tar.gz gdb-9a7d5afb37c6738d1d9d29e95473a296e4bdc76a.tar.bz2 |
* gdb_expat.h (XMLCALL): Define if not already defined.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdb_expat.h | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6e1e3d4..5ca6552 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2007-02-20 Joel Brobecker <brobecker@adacore.com> + + * gdb_expat.h (XMLCALL): Define if not already defined. + 2007-02-20 Andreas Schwab <schwab@suse.de> * Makefile.in (symfile.o): Update dependencies. 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) */ |