summaryrefslogtreecommitdiffstats
path: root/libxml2/libxml2-2.6.31-mingw.patch
blob: 412db5bc244a83d5235ac0b59672464d1e4092c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- misc/libxml2-2.6.31/configure	2008-01-11 17:01:56.000000000 +0900
+++ misc/build/libxml2-2.6.31/configure	2009-09-07 20:48:47.656250000 +0900
@@ -27331,6 +27331,8 @@
 
 if test "$with_modules" != "no" ; then
  case "$host" in
+  *-*-mingw*)
+  ;;
   *-*-cygwin*)
   MODULE_EXTENSION=".dll"
   { echo "$as_me:$LINENO: checking for dlopen in -lcygwin" >&5
--- misc/libxml2-2.6.31/libxml.h	2007-11-23 19:47:23.000000000 +0900
+++ misc/build/libxml2-2.6.31/libxml.h	2009-07-10 14:37:34.988250000 +0900
@@ -30,6 +30,10 @@
 #include <libxml/xmlversion.h>
 #else
 #include "config.h"
+#ifdef __MINGW32__
+#undef HAVE_LIBPTHREAD 
+#undef HAVE_PTHREAD_H 
+#endif
 #include <libxml/xmlversion.h>
 #endif