]> git.sesse.net Git - vlc/commitdiff
contrib: xml2: fix for windows store
authorRafaël Carré <funman@videolan.org>
Thu, 15 Aug 2013 09:52:05 +0000 (11:52 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 15 Aug 2013 10:09:17 +0000 (12:09 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
contrib/src/libxml2/win32.patch

index 2f586ddbc0024533de9251dfc02a1c6d9cc40d17..1200f36d611c7b811798a56a03dfafaefd698677 100644 (file)
        xmlWrapStat = xmlWrapStatUtf8;
        xmlWrapOpen = xmlWrapOpenUtf8;
  #ifdef HAVE_ZLIB_H
+--- libxml2/configure.in.orig  2013-08-15 11:40:51.228070119 +0200
++++ libxml2/configure.in       2013-08-15 11:41:01.956070564 +0200
+@@ -968,7 +968,7 @@
+        *mingw32*) if test "$with_threads" != "pthread" && test "$with_threads" != "no"; then
+                WITH_THREADS="1"
+                THREADS_W32="1"
+-               THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS"
++               THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS -DHAVE_COMPILER_TLS"
+            fi
+        ;;
+     esac