aboutsummaryrefslogtreecommitdiff
path: root/gdb/xml-support.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/xml-support.c')
-rw-r--r--gdb/xml-support.c5
1 files changed, 5 insertions, 0 deletions
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. */