--- embedaddon/libxml2/pattern.c 2012/02/21 23:37:58 1.1.1.1 +++ embedaddon/libxml2/pattern.c 2013/07/22 01:22:20 1.1.1.2 @@ -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) @@ -305,7 +308,8 @@ xmlNewPatParserContext(const xmlChar *pattern, xmlDict cur->base = pattern; if (namespaces != NULL) { int i; - for (i = 0;namespaces[2 * i] != NULL;i++); + for (i = 0;namespaces[2 * i] != NULL;i++) + ; cur->nb_namespaces = i; } else { cur->nb_namespaces = 0;