apply simple patch from Carlo Bramini to avoid compilation problems with
* xmlmodule.c: apply simple patch from Carlo Bramini to avoid
compilation problems with Mingw32
Daniel
svn path=/trunk/; revision=3689
diff --git a/ChangeLog b/ChangeLog
index 4c8b03b..15a1a06 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Feb 8 11:47:18 CET 2008 Daniel Veillard <daniel@veillard.com>
+
+ * xmlmodule.c: apply simple patch from Carlo Bramini to avoid
+ compilation problems with Mingw32
+
Fri Feb 8 11:33:15 CET 2008 Daniel Veillard <daniel@veillard.com>
* xmlregexp.c: apply patch from Andrew Tosh to fix behaviour
diff --git a/xmlmodule.c b/xmlmodule.c
index 15bcf07..9ffd610 100644
--- a/xmlmodule.c
+++ b/xmlmodule.c
@@ -190,7 +190,7 @@
return (0);
}
-#ifdef HAVE_DLOPEN
+#if defined(HAVE_DLOPEN) && !defined(_WIN32)
#ifdef HAVE_DLFCN_H
#include <dlfcn.h>
#endif