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

Alexandre Julliard julliard at winehq.org
Thu Apr 7 07:36:54 CDT 2011


Module: wine
Branch: stable
Commit: e73320cec91875c2229ca9350fb0228f62dcfc19
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e73320cec91875c2229ca9350fb0228f62dcfc19

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Mar  1 14:10:16 2011 +0100

ntdll: Don't print an error when architecture is set to win64 and the app is 64-bit.
(cherry picked from commit 29f57999960c989c13c1dffdaf925e1e070e72bf)

---

 dlls/ntdll/server.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/server.c b/dlls/ntdll/server.c
index 79e1f8e..00341ab 100644
--- a/dlls/ntdll/server.c
+++ b/dlls/ntdll/server.c
@@ -1119,7 +1119,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() );
         }




More information about the wine-cvs mailing list