aboutsummaryrefslogtreecommitdiffstats
path: root/xmlregexp.c
diff options
context:
space:
mode:
authorPatrick R. Gansterer <paroga@paroga.com>2012-05-10 20:24:00 +0800
committerDaniel Veillard <veillard@redhat.com>2012-05-10 20:24:00 +0800
commit204f1f144ce1eded7dd25162c1c67e66a93fe450 (patch)
tree7206a7005ad3b862c1a5f94d82916fa0703de674 /xmlregexp.c
parentb91111b47599b9b07830db5ae2291739d22c384b (diff)
downloadandroid_external_libxml2-204f1f144ce1eded7dd25162c1c67e66a93fe450.tar.gz
android_external_libxml2-204f1f144ce1eded7dd25162c1c67e66a93fe450.tar.bz2
android_external_libxml2-204f1f144ce1eded7dd25162c1c67e66a93fe450.zip
undef ERROR if already defined
Diffstat (limited to 'xmlregexp.c')
-rw-r--r--xmlregexp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmlregexp.c b/xmlregexp.c
index aaff33e7..8a8be983 100644
--- a/xmlregexp.c
+++ b/xmlregexp.c
@@ -44,6 +44,9 @@
#define MAX_PUSH 10000000
+#ifdef ERROR
+#undef ERROR
+#endif
#define ERROR(str) \
ctxt->error = XML_REGEXP_COMPILE_ERROR; \
xmlRegexpErrCompile(ctxt, str);