diff options
author | Dave Yeo <dave.r.yeo@gmail.com> | 2014-11-28 23:34:20 -0800 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-29 12:07:17 +0100 |
commit | 89b52d25b4b847f58bab32901064803f79ac68df (patch) | |
tree | ec535f63614b521150145155028044879ddb88b5 | |
parent | 9984d492dc51249c3f656d50b90c36e7540002f2 (diff) | |
download | ffmpeg-89b52d25b4b847f58bab32901064803f79ac68df.tar.gz |
libavutil/thread.h: Support OS/2 threads
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 090a7801a8817c1fbc6db0ed39070bf82255d8f2)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavutil/thread.h | 4 |
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 |