ntdll: Don't print an error when architecture is set to win64 and the app is 64-bit.

This commit is contained in:
Alexandre Julliard 2011-03-01 14:10:16 +01:00
parent ff8c79e45b
commit 29f5799996

View File

@ -1122,7 +1122,7 @@ size_t server_init_thread( void *entry_point )
if (!strcmp( arch, "win32" ) && (is_win64 || is_wow64))
fatal_error( "WINEARCH set to win32 but '%s' is a 64-bit installation.\n",
wine_get_config_dir() );
if (!strcmp( arch, "win64" ) && !is_wow64)
if (!strcmp( arch, "win64" ) && !is_win64 && !is_wow64)
fatal_error( "WINEARCH set to win64 but '%s' is a 32-bit installation.\n",
wine_get_config_dir() );
}