applied patch from Aleksey Gurtovoy moving some stat() definition for
authorDaniel Veillard <veillard@src.gnome.org>
Wed, 1 Dec 2004 09:48:12 +0000 (09:48 +0000)
committerDaniel Veillard <veillard@src.gnome.org>
Wed, 1 Dec 2004 09:48:12 +0000 (09:48 +0000)
* libxslt/security.c xsltproc/xsltproc.c: applied patch from
  Aleksey Gurtovoy moving some stat() definition for Windows
  to the right place.
Daniel

ChangeLog
libxslt/security.c
xsltproc/xsltproc.c

index 25b039e..5eaff3e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Wed Dec  1 10:47:15 CET 2004 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/security.c xsltproc/xsltproc.c: applied patch from
+         Aleksey Gurtovoy moving some stat() definition for Windows
+         to the right place.
+
 Wed Dec  1 14:30:22 HKT 2004 William Brack <wbrack@mmm.com.hk>
 
        * libxslt/xslt.c: applied patch from Mark Vakoc fixing bug with
index bb1cf06..cdcf167 100644 (file)
 #include <ctype.h>
 #endif
 
+#ifndef HAVE_STAT
+#  ifdef HAVE__STAT
+     /* MS C library seems to define stat and _stat. The definition
+      *         is identical. Still, mapping them to each other causes a warning. */
+#    ifndef _MSC_VER
+#      define stat(x,y) _stat(x,y)
+#    endif
+#    define HAVE_STAT
+#  endif
+#endif
+
 #include <libxml/xmlmemory.h>
 #include <libxml/tree.h>
 #include <libxml/uri.h>
index 0efbf05..b53b5e2 100644 (file)
 #include <sys/timeb.h>
 #endif
 
-#ifndef HAVE_STAT
-#  ifdef HAVE__STAT
-     /* MS C library seems to define stat and _stat. The definition
-      *         is identical. Still, mapping them to each other causes a warning. */
-#    ifndef _MSC_VER
-#      define stat(x,y) _stat(x,y)
-#    endif
-#    define HAVE_STAT
-#  endif
-#endif
-
 static int debug = 0;
 static int repeat = 0;
 static int timing = 0;