Module: wine Branch: master Commit: b2b3975f46c203a129a946128ccd018dd7ed6e46 URL: https://source.winehq.org/git/wine.git/?a=commit;h=b2b3975f46c203a129a946128...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Oct 30 20:19:50 2019 +0100
setupapi: Define .inf section names for ARM platforms.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/setupapi/install.c | 4 ++++ dlls/setupapi/query.c | 10 ++++++++++ 2 files changed, 14 insertions(+)
diff --git a/dlls/setupapi/install.c b/dlls/setupapi/install.c index 483835db24..e166754168 100644 --- a/dlls/setupapi/install.c +++ b/dlls/setupapi/install.c @@ -1212,6 +1212,10 @@ void WINAPI InstallHinfSectionW( HWND hwnd, HINSTANCE handle, LPCWSTR cmdline, I static const WCHAR nt_platformW[] = {'.','n','t','x','8','6',0}; #elif defined(__x86_64__) static const WCHAR nt_platformW[] = {'.','n','t','a','m','d','6','4',0}; +#elif defined(__arm__) + static const WCHAR nt_platformW[] = {'.','n','t','a','r','m',0}; +#elif defined(__aarch64__) + static const WCHAR nt_platformW[] = {'.','n','t','a','r','m','6','4',0}; #else /* FIXME: other platforms */ static const WCHAR nt_platformW[] = {'.','n','t',0}; #endif diff --git a/dlls/setupapi/query.c b/dlls/setupapi/query.c index cbb77d53e4..ea1b969618 100644 --- a/dlls/setupapi/query.c +++ b/dlls/setupapi/query.c @@ -43,6 +43,16 @@ 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[] = {'S','o','u','r','c','e','D','i','s','k','s','F','i','l','e','s','.','a','m','d','6','4',0}; +#elif defined(__arm__) +static const WCHAR source_disks_names_platform[] = + {'S','o','u','r','c','e','D','i','s','k','s','N','a','m','e','s','.','a','r','m',0}; +static const WCHAR source_disks_files_platform[] = + {'S','o','u','r','c','e','D','i','s','k','s','F','i','l','e','s','.','a','r','m',0}; +#elif defined(__aarch64__) +static const WCHAR source_disks_names_platform[] = + {'S','o','u','r','c','e','D','i','s','k','s','N','a','m','e','s','.','a','r','m','6','4',0}; +static const WCHAR source_disks_files_platform[] = + {'S','o','u','r','c','e','D','i','s','k','s','F','i','l','e','s','.','a','r','m','6','4',0}; #else /* FIXME: other platforms */ static const WCHAR source_disks_names_platform[] = {'S','o','u','r','c','e','D','i','s','k','s','N','a','m','e','s',0};