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

oldstable
Francois Gouget 2008-02-10 00:30:28 +01:00 committed by Alexandre Julliard
parent 6922075e58
commit 2c6cba8eef
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}
}