From d09eebaf565feadf15e8db68eb764015f9923bf1 Mon Sep 17 00:00:00 2001 From: "William M. Brack" Date: Mon, 27 Oct 2003 01:00:05 +0000 Subject: [PATCH] put in #undef for IS_BLANK macros to fix problem reported on the mailing * libxslt/xslt.c: put in #undef for IS_BLANK macros to fix problem reported on the mailing list by Justin Fletcher --- ChangeLog | 5 +++++ libxslt/xslt.c | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9fb4e81..cef2c3f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Oct 27 08:57:43 HKT 2003 William Brack + + * libxslt/xslt.c: put in #undef for IS_BLANK macros to fix + problem reported on the mailing list by Justin Fletcher + Fri Oct 24 00:49:05 CEST 2003 Daniel Veillard * configure.in libxslt.spec.in: doing some testing and raising diff --git a/libxslt/xslt.c b/libxslt/xslt.c index b8384e3..676b119 100644 --- a/libxslt/xslt.c +++ b/libxslt/xslt.c @@ -62,9 +62,15 @@ double xmlXPathStringEvalNumber(const xmlChar *str); * Useful macros */ +#ifdef IS_BLANK +#undef IS_BLANK +#endif #define IS_BLANK(c) (((c) == 0x20) || ((c) == 0x09) || ((c) == 0xA) || \ ((c) == 0x0D)) +#ifdef IS_BLANK_NODE +#undef IS_BLANK_NODE +#endif #define IS_BLANK_NODE(n) \ (((n)->type == XML_TEXT_NODE) && (xsltIsBlank((n)->content))) -- 2.7.4