[FFmpeg-cvslog] libavutil/thread.h: Support OS/2 threads

Dave Yeo git at videolan.org
Sat Nov 29 12:03:41 CET 2014


ffmpeg | branch: master | Dave Yeo <dave.r.yeo at gmail.com> | Fri Nov 28 23:34:20 2014 -0800| [090a7801a8817c1fbc6db0ed39070bf82255d8f2] | committer: Michael Niedermayer

libavutil/thread.h: Support OS/2 threads

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=090a7801a8817c1fbc6db0ed39070bf82255d8f2
---

 libavutil/thread.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libavutil/thread.h b/libavutil/thread.h
index 62e1340..a004fba 100644
--- a/libavutil/thread.h
+++ b/libavutil/thread.h
@@ -24,10 +24,12 @@
 
 #include "config.h"
 
-#if HAVE_PTHREADS || HAVE_W32THREADS
+#if HAVE_PTHREADS || HAVE_W32THREADS || HAVE_OS2THREADS
 
 #if HAVE_PTHREADS
 #include <pthread.h>
+#elif HAVE_OS2THREADS
+#include "compat/os2threads.h"
 #else
 #include <compat/w32pthreads.h>
 #endif



More information about the ffmpeg-cvslog mailing list