1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-31 02:43:06 +03:00

applied patch from Aleksey Gurtovoy moving some stat() definition for

* libxslt/security.c xsltproc/xsltproc.c: applied patch from
  Aleksey Gurtovoy moving some stat() definition for Windows
  to the right place.
Daniel
This commit is contained in:
Daniel Veillard
2004-12-01 09:48:12 +00:00
parent cb232b5619
commit b50ceb3058
3 changed files with 17 additions and 11 deletions

View File

@ -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> 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 * libxslt/xslt.c: applied patch from Mark Vakoc fixing bug with

View File

@ -34,6 +34,17 @@
#include <ctype.h> #include <ctype.h>
#endif #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/xmlmemory.h>
#include <libxml/tree.h> #include <libxml/tree.h>
#include <libxml/uri.h> #include <libxml/uri.h>

View File

@ -75,17 +75,6 @@
#include <sys/timeb.h> #include <sys/timeb.h>
#endif #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 debug = 0;
static int repeat = 0; static int repeat = 0;
static int timing = 0; static int timing = 0;