Fix runtime initialize config check on Windows

Was failing due to error: incompatible function pointer types passing 'void *(void *)' to parameter of type '_beginthreadex_proc_type' (aka 'unsigned int (*)(void *)') [-Wincompatible-function-pointer-types].
This commit is contained in:
Frederik Seiffert 2023-06-13 12:00:32 +02:00 committed by Frederik Seiffert
parent 7e14fd1979
commit fe863c981d

View file

@ -66,7 +66,12 @@ static volatile BOOL may_proceed = NO;
@end
static void *
static
#if defined(_WIN32)
unsigned int __stdcall
#else
void *
#endif
test(void *arg)
{
[MyClass class];