msi: gcc 2.95 compatibility fix.

This commit is contained in:
Jeremy White 2006-01-13 13:53:16 +01:00 committed by Alexandre Julliard
parent 2c79ae4746
commit 9d90ef017c
1 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@
*/
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include <stdarg.h>
#include <stdio.h>
@ -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 );