* memory-map.c (XML_STATUS_OK, XML_STATUS_ERROR): Provide default
authorDaniel Jacobowitz <drow@false.org>
Tue, 3 Oct 2006 15:54:01 +0000 (15:54 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 3 Oct 2006 15:54:01 +0000 (15:54 +0000)
definitions.
* xml-support.c (XML_STATUS_OK, XML_STATUS_ERROR): Likewise.

gdb/ChangeLog
gdb/memory-map.c
gdb/xml-support.c

index 3eb2c909600daf41bd78bfed676d6e7b35681817..c402098ec91c4e421c0dd5db4f2162306aebce7b 100644 (file)
@@ -1,3 +1,9 @@
+2006-10-03  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * memory-map.c (XML_STATUS_OK, XML_STATUS_ERROR): Provide default
+       definitions.
+       * xml-support.c (XML_STATUS_OK, XML_STATUS_ERROR): Likewise.
+
 2006-09-22  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * remote.c (remote_write_bytes_aux): Doc fix.
index 01171c10fd0d32d637f5aca3a65bb164cf4e4b08..e3f8a805d585b387223c13e1e85f783a9854ad46 100644 (file)
@@ -49,6 +49,11 @@ parse_memory_map (const char *memory_map)
 #include "xml-support.h"
 #include <expat.h>
 
+#ifndef XML_STATUS_OK
+# define XML_STATUS_OK    1
+# define XML_STATUS_ERROR 0
+#endif
+
 /* Internal parsing data passed to all Expat callbacks.  */
 struct memory_map_parsing_data
   {
index 0b67e6a9bd357e84748c9b2cb0364fbd6ecfbca5..54b0c9be52617e83953b2bfedbc229fdf92b113a 100644 (file)
 
 #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.  */