Commit c51906de authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: fix vpx threading on Win32

parent e4ef96c2
--- libvpx/vp8/common/generic/systemdependent.c 2013-03-14 15:39:20.284261976 +0100
+++ libvpx.new/vp8/common/generic/systemdependent.c 2013-03-14 15:39:01.423974364 +0100
@@ -87,7 +87,7 @@
#endif
-#if HAVE_PTHREAD_H
+#if HAVE_PTHREAD_H && !defined(_WIN32)
#include <pthread.h>
static void once(void (*func)(void))
{
......@@ -17,6 +17,9 @@ ifdef HAVE_MACOSX
$(APPLY) $(SRC)/vpx/libvpx-mac.patch
$(APPLY) $(SRC)/vpx/libvpx-mac-mountain-lion.patch
endif
ifdef HAVE_WIN32
$(APPLY) $(SRC)/vpx/libvpx-win32.patch
endif
ifneq ($(which bash),/bin/bash)
sed -i.orig \
s,^\#!/bin/bash,\#!`which bash`,g \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment