mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
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:
parent
7e14fd1979
commit
fe863c981d
1 changed files with 6 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue