summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorDave Yeo <dave.r.yeo@gmail.com>2014-11-28 23:34:20 -0800
committerMichael Niedermayer <michaelni@gmx.at>2014-11-29 11:56:22 +0100
commit090a7801a8817c1fbc6db0ed39070bf82255d8f2 (patch)
tree7ac631cb40a601b845fb906fd705530ea9a2974c /libavutil
parent2db29482f1ae42f9e3c40cc019fb9e04522aa0bb (diff)
downloadffmpeg-090a7801a8817c1fbc6db0ed39070bf82255d8f2.tar.gz
libavutil/thread.h: Support OS/2 threads
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/thread.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavutil/thread.h b/libavutil/thread.h
index 62e1340ceb..a004fba3c8 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