libavutil/thread.h: Support OS/2 threads

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Dave Yeo 2014-11-28 23:34:20 -08:00 committed by Michael Niedermayer
parent 2db29482f1
commit 090a7801a8
1 changed files with 3 additions and 1 deletions

View File

@ -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