diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2001-08-03 12:06:36 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2001-08-03 12:06:36 +0000 |
commit | 50f3437111a6428b4852740e83db4848b0b09a97 (patch) | |
tree | a2b0d7c54535d7cce9be574eba3474957fa549f2 /xmlIO.c | |
parent | 9f4eb911591bff815373d3e272605f2bebe4f087 (diff) | |
download | android_external_libxml2-50f3437111a6428b4852740e83db4848b0b09a97.tar.gz android_external_libxml2-50f3437111a6428b4852740e83db4848b0b09a97.tar.bz2 android_external_libxml2-50f3437111a6428b4852740e83db4848b0b09a97.zip |
applied Win32 Facelift No.2 patches from Igor Zlatkovic for Windows/MSC
* DOCBparser.c Makefile.am nanohttp.c parser.c testHTML.c
testSAX.c xmlIO.c xmllint.c include/win32config.h
include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h
include/libxml/xmlwin32version.h.in win32/README.MSDev
win32/dsp/*: applied Win32 Facelift No.2 patches from
Igor Zlatkovic for Windows/MSC
Daniel
Diffstat (limited to 'xmlIO.c')
-rw-r--r-- | xmlIO.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -35,7 +35,11 @@ /* Figure a portable way to know if a file is a directory. */ #ifndef HAVE_STAT # ifdef HAVE__STAT -# define stat(x,y) _stat(x,y) + /* 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 |