1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

undef ERROR if already defined

This commit is contained in:
Patrick R. Gansterer
2012-05-10 20:24:00 +08:00
committed by Daniel Veillard
parent b91111b475
commit 204f1f144c
2 changed files with 6 additions and 0 deletions

View File

@ -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);