mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 04:48:36 +00:00
ntdll: Add a more explicit failure for 32-bit prefix in wow64 mode.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56039
This commit is contained in:
parent
343398d23e
commit
443e49084e
|
@ -1565,6 +1565,8 @@ size_t server_init_process(void)
|
|||
{
|
||||
const char *arch = getenv( "WINEARCH" );
|
||||
|
||||
if (is_win64 && arch && !strcmp( arch, "win32" ))
|
||||
fatal_error( "WINEARCH is set to 'win32' but this is not supported in wow64 mode.\n" );
|
||||
if (arch && strcmp( arch, "win32" ) && strcmp( arch, "win64" ))
|
||||
fatal_error( "WINEARCH set to invalid value '%s', it must be either win32 or win64.\n", arch );
|
||||
|
||||
|
|
Loading…
Reference in a new issue