libavutil/thread.h: Support OS/2 threads
authorDave Yeo <dave.r.yeo@gmail.com>
Sat, 29 Nov 2014 07:34:20 +0000 (23:34 -0800)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 29 Nov 2014 10:56:22 +0000 (11:56 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/thread.h

index 62e1340..a004fba 100644 (file)
 
 #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