forked from Mirrors/wine-wine
tests: Avoid InterlockedExchangeAdd() as it is not supported on Windows 95.
parent
6922075e58
commit
2c6cba8eef
|
@ -354,7 +354,8 @@ void winetest_wait_child_process( HANDLE process )
|
||||||
{
|
{
|
||||||
fprintf( stdout, "%s: %u failures in child process\n",
|
fprintf( stdout, "%s: %u failures in child process\n",
|
||||||
current_test->name, exit_code );
|
current_test->name, exit_code );
|
||||||
InterlockedExchangeAdd( &failures, exit_code );
|
while (exit_code-- > 0)
|
||||||
|
InterlockedIncrement(&failures);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue