Commit 2c6cba8e authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

tests: Avoid InterlockedExchangeAdd() as it is not supported on Windows 95.

parent 6922075e
......@@ -354,7 +354,8 @@ void winetest_wait_child_process( HANDLE process )
{
fprintf( stdout, "%s: %u failures in child process\n",
current_test->name, exit_code );
InterlockedExchangeAdd( &failures, exit_code );
while (exit_code-- > 0)
InterlockedIncrement(&failures);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment