Huw Davies : setupapi: For consistency use __x86_64__ instead of __x86_64.

Alexandre Julliard julliard at winehq.org
Thu Sep 20 13:45:33 CDT 2018


Module: wine
Branch: master
Commit: a6d89db61566b5dcccd66cb1cb5a51dfa0cc0f0a
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=a6d89db61566b5dcccd66cb1cb5a51dfa0cc0f0a

Author: Huw Davies <huw at codeweavers.com>
Date:   Thu Sep 20 10:16:05 2018 +0100

setupapi: For consistency use __x86_64__ instead of __x86_64.

Spotted by Ken Thomases.

Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/setupapi/install.c | 2 +-
 dlls/setupapi/query.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/setupapi/install.c b/dlls/setupapi/install.c
index 5b2d4b8..1453f52 100644
--- a/dlls/setupapi/install.c
+++ b/dlls/setupapi/install.c
@@ -1200,7 +1200,7 @@ void WINAPI InstallHinfSectionW( HWND hwnd, HINSTANCE handle, LPCWSTR cmdline, I
 {
 #ifdef __i386__
     static const WCHAR nt_platformW[] = {'.','n','t','x','8','6',0};
-#elif defined(__x86_64)
+#elif defined(__x86_64__)
     static const WCHAR nt_platformW[] = {'.','n','t','a','m','d','6','4',0};
 #else  /* FIXME: other platforms */
     static const WCHAR nt_platformW[] = {'.','n','t',0};
diff --git a/dlls/setupapi/query.c b/dlls/setupapi/query.c
index 627c543..ba6d01d 100644
--- a/dlls/setupapi/query.c
+++ b/dlls/setupapi/query.c
@@ -38,7 +38,7 @@ static const WCHAR source_disks_names_platform[] =
     {'S','o','u','r','c','e','D','i','s','k','s','N','a','m','e','s','.','x','8','6',0};
 static const WCHAR source_disks_files_platform[] =
     {'S','o','u','r','c','e','D','i','s','k','s','F','i','l','e','s','.','x','8','6',0};
-#elif defined(__x86_64)
+#elif defined(__x86_64__)
 static const WCHAR source_disks_names_platform[] =
     {'S','o','u','r','c','e','D','i','s','k','s','N','a','m','e','s','.','a','m','d','6','4',0};
 static const WCHAR source_disks_files_platform[] =




More information about the wine-cvs mailing list