Alexandre Julliard : setupapi: Use correct architecture for fake dlls on ARM and ARM64.

Alexandre Julliard julliard at winehq.org
Sun Mar 18 09:02:31 CDT 2018


Module: wine
Branch: oldstable
Commit: 9b50f08d6d6b086685d8be341e558638c356a566
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=9b50f08d6d6b086685d8be341e558638c356a566

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Nov  1 10:41:51 2017 +0100

setupapi: Use correct architecture for fake dlls on ARM and ARM64.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 35719665d79bc1cc3be19628021a154f563daa51)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 dlls/setupapi/fakedll.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dlls/setupapi/fakedll.c b/dlls/setupapi/fakedll.c
index d521b0a..d310cc9 100644
--- a/dlls/setupapi/fakedll.c
+++ b/dlls/setupapi/fakedll.c
@@ -713,6 +713,10 @@ static BOOL CALLBACK register_manifest( HMODULE module, const WCHAR *type, WCHAR
     static const char current_arch[] = "x86";
 #elif defined __x86_64__
     static const char current_arch[] = "amd64";
+#elif defined __arm__
+    static const char current_arch[] = "arm";
+#elif defined __aarch64__
+    static const char current_arch[] = "arm64";
 #else
     static const char current_arch[] = "none";
 #endif




More information about the wine-cvs mailing list