1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-29 15:41:13 +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

@ -75,17 +75,6 @@
#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;