summaryrefslogtreecommitdiff
path: root/include/libxml/xmlwin32version.h.in
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-01-04 15:10:22 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-01-04 15:10:22 +0000
commitce1648b124a9d8decd453185852b0927d311a3aa (patch)
tree01123765a7cc9ddc083caa7779d1a7e4538d9707 /include/libxml/xmlwin32version.h.in
parent7a3447a592a784caf238338d39291e27faa822de (diff)
downloadlibxml2-ce1648b124a9d8decd453185852b0927d311a3aa.tar.gz
applied DSO support patch 2 from Joel Reed Daniel
* Makefile.am config.h.in configure.in error.c libxml-2.0.pc.in testModule.c testdso.c xml2-config.in xmllint.c xmlmodule.c include/libxml/Makefile.am include/libxml/xmlerror.h include/libxml/xmlmodule.h include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h.in: applied DSO support patch 2 from Joel Reed Daniel
Diffstat (limited to 'include/libxml/xmlwin32version.h.in')
-rw-r--r--include/libxml/xmlwin32version.h.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/libxml/xmlwin32version.h.in b/include/libxml/xmlwin32version.h.in
index 8d740f58..dcbe5cbe 100644
--- a/include/libxml/xmlwin32version.h.in
+++ b/include/libxml/xmlwin32version.h.in
@@ -261,6 +261,18 @@ extern void xmlCheckVersion(int version);
#endif
#endif
+/*
+ * #pragma comment(lib, "kernel32.lib")
+ *
+ * pragma understood my MS compiler which enables a conditional link with
+ * kernel32.
+ */
+#ifdef _MSC_VER
+#if defined LIBXML_MODULES_ENABLED
+#pragma comment(lib, "kernel32.lib")
+#endif
+#endif
+
#ifdef __cplusplus
}
#endif /* __cplusplus */