summaryrefslogtreecommitdiff
path: root/include/win32config.h
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-06-28 13:12:11 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-06-28 13:12:11 +0000
commit12f7d29420c066a5a35a7098308126af0023c633 (patch)
treeb61dc03181f2c94e3da2954c97badc84e3420ffe /include/win32config.h
parent87ee914013402992fc6cdafc0bd4c9904e5a99e0 (diff)
downloadlibxml2-12f7d29420c066a5a35a7098308126af0023c633.tar.gz
- include/win32config.h: bug #56801 Yon Derek provided a patch
to the windows config file. Daniel
Diffstat (limited to 'include/win32config.h')
-rw-r--r--include/win32config.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/win32config.h b/include/win32config.h
index 1ec100b1..b63786b8 100644
--- a/include/win32config.h
+++ b/include/win32config.h
@@ -10,10 +10,14 @@
#include <io.h>
#ifndef LIBXML_DLL_IMPORT
+#if !defined(STATIC)
+#define LIBXML_DLL_IMPORT __declspec(dllimport)
+#else
#define LIBXML_DLL_IMPORT
#endif
-#define SOCKLEN_T int
+#endif
+#define SOCKLEN_T int
#ifdef NEED_SOCKETS
#include <winsock2.h>