Permalink
Browse files

undef ERROR if already defined

  • Loading branch information...
1 parent b91111b commit 204f1f144ce1eded7dd25162c1c67e66a93fe450 @paroga paroga committed with veillard May 10, 2012
Showing with 6 additions and 0 deletions.
  1. +3 −0 pattern.c
  2. +3 −0 xmlregexp.c
View
@@ -39,6 +39,9 @@
/* #define DEBUG_STREAMING */
+#ifdef ERROR
+#undef ERROR
+#endif
#define ERROR(a, b, c, d)
#define ERROR5(a, b, c, d, e)
View
@@ -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);

0 comments on commit 204f1f1

Please sign in to comment.