[PATCH] setupapi: For consistency use __x86_64__ instead of __x86_64.

Huw Davies huw at codeweavers.com
Thu Sep 20 04:16:05 CDT 2018


Spotted by Ken Thomases.

Signed-off-by: Huw Davies <huw at codeweavers.com>
---
 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 5b2d4b8ee3..1453f52247 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 627c543d6b..ba6d01dc63 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[] =
-- 
2.18.0




More information about the wine-devel mailing list