put in #undef for IS_BLANK macros to fix problem reported on the mailing
authorWilliam M. Brack <wbrack@src.gnome.org>
Mon, 27 Oct 2003 01:00:05 +0000 (01:00 +0000)
committerWilliam M. Brack <wbrack@src.gnome.org>
Mon, 27 Oct 2003 01:00:05 +0000 (01:00 +0000)
* libxslt/xslt.c: put in #undef for IS_BLANK macros to fix
  problem reported on the mailing list by Justin Fletcher

ChangeLog
libxslt/xslt.c

index 9fb4e81..cef2c3f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Oct 27 08:57:43 HKT 2003 William Brack <wbrack@mmm.com.hk>
+
+       * 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 <daniel@veillard.com>
 
        * configure.in libxslt.spec.in: doing some testing and raising
index b8384e3..676b119 100644 (file)
@@ -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)))