summaryrefslogtreecommitdiff
path: root/xsltproc
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2004-12-01 09:48:12 +0000
committerDaniel Veillard <veillard@src.gnome.org>2004-12-01 09:48:12 +0000
commitb50ceb3058dc44742459cd6b4bf4a3589c45829f (patch)
treef0f0e49b0c38f56c8ed17ecfbe199a8e224b0154 /xsltproc
parentcb232b561941a49af0fd44d50e5009ad7c3c26f0 (diff)
downloadlibxslt-b50ceb3058dc44742459cd6b4bf4a3589c45829f.tar.gz
libxslt-b50ceb3058dc44742459cd6b4bf4a3589c45829f.tar.bz2
libxslt-b50ceb3058dc44742459cd6b4bf4a3589c45829f.zip
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
Diffstat (limited to 'xsltproc')
-rw-r--r--xsltproc/xsltproc.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c
index 0efbf05e..b53b5e2d 100644
--- a/xsltproc/xsltproc.c
+++ b/xsltproc/xsltproc.c
@@ -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;