diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2002-01-08 10:36:16 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2002-01-08 10:36:16 +0000 |
commit | 3c5ed91ac39fd5c946875e6856b366dd60463dfb (patch) | |
tree | 87bccbc3d6b1e01b927c9c5a1aad3eeb96796008 /parserInternals.c | |
parent | 401c2114b44b575a48ce383a633fd03e2147e466 (diff) | |
download | libxml2-3c5ed91ac39fd5c946875e6856b366dd60463dfb.tar.gz |
Applied following patches from Robert Collins and make sure IN_LIBXML is
* libxml.h: Applied following patches from Robert Collins
and make sure IN_LIBXML is defined when compiling it
-------
* include/libxml/xmlversion.h.in (LIBXML_DLL_IMPORT): Use on Cygwin
as well as Visual C.
* parser.c (XML_DIR_SEP): Don't use '\\' for Cygwin.
* parserInternals.c (XML_DIR_SEP): Don't use '\\' for Cygwin.
* strio.c (PLATFORM_UNIX): Define for Cygwin.
* triodef.h (TRIO_PLATFORM_UNIX): Define for Cygwin.
* xmlIO.c (xmlFileOpen): Use unix behaviour for Cygwin.
Use binary mode opens for Cygwin (xmlFileOpenW xmlParserGetDirectory
xmlSysIDExists xmlNoNetExists).
* xmllint.c: Don't include winsock2.h for Cygwin.
Daniel
Diffstat (limited to 'parserInternals.c')
-rw-r--r-- | parserInternals.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parserInternals.c b/parserInternals.c index f7ca6464..9a570c91 100644 --- a/parserInternals.c +++ b/parserInternals.c @@ -9,7 +9,7 @@ #include "libxml.h" -#ifdef WIN32 +#if defined(WIN32) && !defined (__CYGWIN__) #define XML_DIR_SEP '\\' #else #define XML_DIR_SEP '/' |