From d167a1aeee79a484f3ace9160089cf7009283ea3 Mon Sep 17 00:00:00 2001 From: James Zern Date: Tue, 10 Feb 2015 12:47:14 -0800 Subject: [PATCH] vp9_thread: prefer pthread.h if available this avoids conflicts with recent versions of mingw-w64 (tested g++ 4.8.2) and the unit tests Change-Id: Ic41ea31eebe0e3e712ed5e657f37d8cad6712088 --- vp9/common/vp9_thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/common/vp9_thread.h b/vp9/common/vp9_thread.h index c24ef5fac..12848fede 100644 --- a/vp9/common/vp9_thread.h +++ b/vp9/common/vp9_thread.h @@ -28,7 +28,7 @@ extern "C" { #if CONFIG_MULTITHREAD -#if defined(_WIN32) +#if defined(_WIN32) && !HAVE_PTHREAD_H #include // NOLINT #include // NOLINT #include // NOLINT -- 2.40.0