X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=common%2Fthreadpool.h;h=fcebe5cc412ef6f55867fef685f2f17800302092;hb=74ee50e539dc06bea6b4bbd2f674c21248c05970;hp=0cb197902a6ccfa38637ec868c8fdc42d9a6b471;hpb=25a1ffb266f409fe657d834b87c47e63cdaded3b;p=x264 diff --git a/common/threadpool.h b/common/threadpool.h index 0cb19790..fcebe5cc 100644 --- a/common/threadpool.h +++ b/common/threadpool.h @@ -28,7 +28,7 @@ typedef struct x264_threadpool_t x264_threadpool_t; -#if HAVE_PTHREAD +#if HAVE_THREAD int x264_threadpool_init( x264_threadpool_t **p_pool, int threads, void (*init_func)(void *), void *init_arg ); void x264_threadpool_run( x264_threadpool_t *pool, void *(*func)(void *), void *arg );