Commit 0b309954 authored by Daniel Veillard's avatar Daniel Veillard

fix a mix of code and declarations showing up on Windows patch from

* xmlIO.c: fix a mix of code and declarations showing up on Windows
  patch from Kjartan Maraas, fixing #340404
Daniel
parent df750627
Tue May 2 22:34:54 CEST 2006 Daniel Veillard <daniel@veillard.com>
* xmlIO.c: fix a mix of code and declarations showing up on Windows
patch from Kjartan Maraas, fixing #340404
Tue May 2 14:24:40 CEST 2006 Daniel Veillard <daniel@veillard.com>
* encoding.c: fixing bug #340398 xmlCharEncOutFunc writing to
......
......@@ -589,8 +589,11 @@ xmlCleanupOutputCallbacks(void)
int
xmlCheckFilename (const char *path)
{
#ifdef HAVE_STAT
struct stat stat_buffer;
#endif
if (path == NULL)
return(0);
return(0);
#if defined(WIN32) || defined (__DJGPP__) && !defined (__CYGWIN__)
{
......@@ -616,8 +619,6 @@ xmlCheckFilename (const char *path)
}
#else
#ifdef HAVE_STAT
struct stat stat_buffer;
if (stat(path, &stat_buffer) == -1)
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment