mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
7aa9684db3
In WinRT mode, we use CreateThread instead of _beginthreadex. CreateThread takes a LPTHREAD_START_ROUTINE function pointer, which has got the signature DWORD WINAPI ThreadProc(LPVOID). _beginthreadex takes a function with the signature unsigned __stdcall func(void *). DWORD is defined as an unsigned long, which is different type from unsigned int, even if they have the same size on Windows. This fixes build failures with Clang 16 and newer, where function pointer type mismatches are a fatal error by default. Signed-off-by: Martin Storsjö <martin@martin.st> |
||
---|---|---|
.. | ||
aix | ||
atomics | ||
cuda | ||
dispatch_semaphore | ||
djgpp | ||
float | ||
msvcrt | ||
solaris | ||
windows | ||
getopt.c | ||
os2threads.h | ||
strtod.c | ||
va_copy.h | ||
w32dlfcn.h | ||
w32pthreads.h |