libavutil/thread.h: Support OS/2 threads
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 090a7801a8
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
9984d492dc
commit
89b52d25b4
@@ -24,10 +24,12 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#if HAVE_PTHREADS || HAVE_W32THREADS
|
#if HAVE_PTHREADS || HAVE_W32THREADS || HAVE_OS2THREADS
|
||||||
|
|
||||||
#if HAVE_PTHREADS
|
#if HAVE_PTHREADS
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
#elif HAVE_OS2THREADS
|
||||||
|
#include "compat/os2threads.h"
|
||||||
#else
|
#else
|
||||||
#include <compat/w32pthreads.h>
|
#include <compat/w32pthreads.h>
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user