From f2d483c4477a03591f3b05a877560ce620990b7c Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Tue, 3 Oct 2006 15:54:01 +0000 Subject: * memory-map.c (XML_STATUS_OK, XML_STATUS_ERROR): Provide default definitions. * xml-support.c (XML_STATUS_OK, XML_STATUS_ERROR): Likewise. --- gdb/xml-support.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdb/xml-support.c') diff --git a/gdb/xml-support.c b/gdb/xml-support.c index 0b67e6a..54b0c9b 100644 --- a/gdb/xml-support.c +++ b/gdb/xml-support.c @@ -33,6 +33,11 @@ #include "gdb_string.h" +#ifndef XML_STATUS_OK +# define XML_STATUS_OK 1 +# define XML_STATUS_ERROR 0 +#endif + /* Returns the value of attribute ATTR from expat attribute list ATTRLIST. If not found, throws an exception. */ -- cgit v1.1