From 9d90ef017c9f3d9be414982bdbf0d85bc25f37e7 Mon Sep 17 00:00:00 2001 From: Jeremy White Date: Fri, 13 Jan 2006 13:53:16 +0100 Subject: [PATCH] msi: gcc 2.95 compatibility fix. --- dlls/msi/package.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/msi/package.c b/dlls/msi/package.c index e2ba8e792cc..cb022bd5b53 100644 --- a/dlls/msi/package.c +++ b/dlls/msi/package.c @@ -19,6 +19,7 @@ */ #define NONAMELESSUNION +#define NONAMELESSSTRUCT #include #include @@ -356,7 +357,7 @@ static VOID set_installer_properties(MSIPACKAGE *package) MSI_SetPropertyW( package, szVersionMsi, bufstr ); GetSystemInfo( &sys_info ); - if (sys_info.u.wProcessorArchitecture == PROCESSOR_ARCHITECTURE_INTEL) + if (sys_info.u.s.wProcessorArchitecture == PROCESSOR_ARCHITECTURE_INTEL) { sprintfW( bufstr, szScreenFormat, sys_info.wProcessorLevel ); MSI_SetPropertyW( package, szIntel, bufstr );