aboutsummaryrefslogtreecommitdiff
path: root/gdb/memory-map.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-10-03 15:54:01 +0000
committerDaniel Jacobowitz <drow@false.org>2006-10-03 15:54:01 +0000
commitf2d483c4477a03591f3b05a877560ce620990b7c (patch)
tree13a8a50ca58e861497f995cb139f10f9a8a6b7b4 /gdb/memory-map.c
parentac685e6adfb9aa42b56c6348050561feed9be5fb (diff)
downloadgdb-f2d483c4477a03591f3b05a877560ce620990b7c.zip
gdb-f2d483c4477a03591f3b05a877560ce620990b7c.tar.gz
gdb-f2d483c4477a03591f3b05a877560ce620990b7c.tar.bz2
* memory-map.c (XML_STATUS_OK, XML_STATUS_ERROR): Provide default
definitions. * xml-support.c (XML_STATUS_OK, XML_STATUS_ERROR): Likewise.
Diffstat (limited to 'gdb/memory-map.c')
-rw-r--r--gdb/memory-map.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/memory-map.c b/gdb/memory-map.c
index 01171c1..e3f8a80 100644
--- a/gdb/memory-map.c
+++ b/gdb/memory-map.c
@@ -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
{