fixing compilation problems on Solaris #150844 Daniel
authorDaniel Veillard <veillard@src.gnome.org>
Mon, 23 Aug 2004 14:54:05 +0000 (14:54 +0000)
committerDaniel Veillard <veillard@src.gnome.org>
Mon, 23 Aug 2004 14:54:05 +0000 (14:54 +0000)
* libexslt/date.c libxslt/imports.c libxslt/xslt.c: fixing
  compilation problems on Solaris #150844
Daniel

ChangeLog
libexslt/date.c
libxslt/imports.c
libxslt/xslt.c
libxslt/xsltwin32config.h

index 7f9fe5b..57fde70 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Aug 23 16:53:02 CEST 2004 Daniel Veillard <daniel@veillard.com>
+
+       * libexslt/date.c libxslt/imports.c libxslt/xslt.c: fixing 
+         compilation problems on Solaris #150844
+
 Sun Aug 22 17:19:49 CEST 2004 Daniel Veillard <daniel@veillard.com>
 
        * configure.in NEWS doc/*: preparing release of 1.1.9
index 0a5b65b..9411016 100644 (file)
@@ -51,8 +51,8 @@
 
 /* needed to get localtime_r on Solaris */
 #ifdef sun
-#ifndef __EXTENSION__
-#define __EXTENSION__
+#ifndef __EXTENSIONS__
+#define __EXTENSIONS__
 #endif
 #endif
 
index 85b2d0f..21480fb 100644 (file)
Binary files a/libxslt/imports.c and b/libxslt/imports.c differ
index 5930c76..6e7727a 100644 (file)
@@ -1904,7 +1904,8 @@ xsltParseStylesheetTop(xsltStylesheetPtr style, xmlNodePtr top) {
     } else if (IS_XSLT_NAME(cur, "namespace-alias")) {
            xsltNamespaceAlias(style, cur);
        } else {
-            if ((style != NULL) && (style->doc->version != NULL) && (!strncmp(style->doc->version,"1.0",3))) {
+            if ((style != NULL) && (style->doc->version != NULL) &&
+               (!strncmp((const char *) style->doc->version, "1.0", 3))) {
                xsltTransformError(NULL, style, cur,
                        "xsltParseStylesheetTop: unknown %s element\n",
                        cur->name);
index 80cba46..55e77b5 100644 (file)
@@ -44,7 +44,7 @@ extern "C" {
  *
  * extra version information, used to show a CVS compilation
  */
-#define LIBXML_VERSION_EXTRA "-CVS934"
+#define LIBXML_VERSION_EXTRA "-CVS936"
 
 /**
  * WITH_XSLT_DEBUG: