diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2001-06-09 13:52:58 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2001-06-09 13:52:58 +0000 |
commit | f3afa7dd4e8daacfa62f7345b7d7071e0cb33423 (patch) | |
tree | 74b96d986c4b6b949088e192a7ad8c7179601827 /include/win32config.h | |
parent | a682b219c45b77a85c3920724f7d3179654aa78c (diff) | |
download | libxml2-f3afa7dd4e8daacfa62f7345b7d7071e0cb33423.tar.gz |
- nanoftp.c nanohttp.c uri.c include/win32config.h: Igor Zlatkovic
provided fixes to compile on MSCC again
- win32/libxml2/libxml2.def.src win32/libxml2/libxml2*.dsp: he
also provided an update for the project files.
Daniel
Diffstat (limited to 'include/win32config.h')
-rw-r--r-- | include/win32config.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/win32config.h b/include/win32config.h index 14c9e9e6..5de47350 100644 --- a/include/win32config.h +++ b/include/win32config.h @@ -9,7 +9,7 @@ #define LIBXML_DLL_IMPORT #define SOCKLEN_T int -#ifdef INCLUDE_WINSOCK +#ifdef NEED_SOCKETS #include <winsock2.h> #define EWOULDBLOCK WSAEWOULDBLOCK @@ -94,7 +94,10 @@ static int isnan (double d) { /* Microsoft's C runtime names all non-ANSI functions with a leading underscore. Since functionality is still the same, they can be used. */ #ifdef _MSC_VER +#include <libxml/xmlversion.h> +#ifndef WITH_TRIO #define snprintf _snprintf #define vsnprintf _vsnprintf +#endif /* WITH_TRIO */ #endif /* _MSC_VER */ |