Module: wine Branch: master Commit: 36bb34fd7e60cf90b81f79694e7f119a56ecd70d URL: https://gitlab.winehq.org/wine/wine/-/commit/36bb34fd7e60cf90b81f79694e7f119...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Jul 13 11:56:55 2023 +0200
fusion: Use nameless unions/structs.
---
dlls/fusion/asmenum.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/dlls/fusion/asmenum.c b/dlls/fusion/asmenum.c index 8a35951accc..bdde3bf1e3c 100644 --- a/dlls/fusion/asmenum.c +++ b/dlls/fusion/asmenum.c @@ -21,9 +21,6 @@ #include <stdarg.h>
#define COBJMACROS -#define NONAMELESSUNION -#define NONAMELESSSTRUCT - #include "windef.h" #include "winbase.h" #include "winuser.h" @@ -409,7 +406,7 @@ static HRESULT enumerate_gac(IAssemblyEnumImpl *asmenum, IAssemblyName *pName)
lstrcpyW(path, buf); GetNativeSystemInfo(&info); - if (info.u.s.wProcessorArchitecture == PROCESSOR_ARCHITECTURE_AMD64) + if (info.wProcessorArchitecture == PROCESSOR_ARCHITECTURE_AMD64) { lstrcpyW(path + size - 1, gac_64); hr = enum_gac_assemblies(&asmenum->assemblies, pName, 0, v40, path); @@ -432,7 +429,7 @@ static HRESULT enumerate_gac(IAssemblyEnumImpl *asmenum, IAssemblyName *pName) return hr;
lstrcpyW(path, buf); - if (info.u.s.wProcessorArchitecture == PROCESSOR_ARCHITECTURE_AMD64) + if (info.wProcessorArchitecture == PROCESSOR_ARCHITECTURE_AMD64) { lstrcpyW(path + size - 1, gac_64); hr = enum_gac_assemblies(&asmenum->assemblies, pName, 0, NULL, path);