Module: wine Branch: refs/heads/master Commit: 9d90ef017c9f3d9be414982bdbf0d85bc25f37e7 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=9d90ef017c9f3d9be414982b...
Author: Jeremy White jwhite@codeweavers.com Date: Fri Jan 13 13:53:16 2006 +0100
msi: gcc 2.95 compatibility fix.
---
dlls/msi/package.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/package.c b/dlls/msi/package.c index e2ba8e7..cb022bd 100644 --- a/dlls/msi/package.c +++ b/dlls/msi/package.c @@ -19,6 +19,7 @@ */
#define NONAMELESSUNION +#define NONAMELESSSTRUCT
#include <stdarg.h> #include <stdio.h> @@ -356,7 +357,7 @@ static VOID set_installer_properties(MSI 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 );