[PATCH 05/12] msi: Global variable compatibility update for gcc 10
Michael Cronenworth
mike at cchtml.com
Thu Jan 23 17:05:23 CST 2020
https://gcc.gnu.org/gcc-10/porting_to.html#common
Signed-off-by: Michael Cronenworth <mike at cchtml.com>
---
dlls/msi/msi.c | 2 ++
dlls/msi/msipriv.h | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/msi/msi.c b/dlls/msi/msi.c
index 7bf5004bed..6387b0a937 100644
--- a/dlls/msi/msi.c
+++ b/dlls/msi/msi.c
@@ -51,6 +51,8 @@
WINE_DEFAULT_DEBUG_CHANNEL(msi);
+BOOL is_wow64;
+
static const WCHAR installerW[] = {'\\','I','n','s','t','a','l','l','e','r',0};
UINT msi_locate_product(LPCWSTR szProduct, MSIINSTALLCONTEXT *context)
diff --git a/dlls/msi/msipriv.h b/dlls/msi/msipriv.h
index fca2f9e7b4..6b87cfb3d8 100644
--- a/dlls/msi/msipriv.h
+++ b/dlls/msi/msipriv.h
@@ -42,7 +42,7 @@
#include "winemsi.h"
static const BOOL is_64bit = sizeof(void *) > sizeof(int);
-BOOL is_wow64 DECLSPEC_HIDDEN;
+extern BOOL is_wow64 DECLSPEC_HIDDEN;
#define MSI_DATASIZEMASK 0x00ff
#define MSITYPE_VALID 0x0100
--
2.24.1
More information about the wine-devel
mailing list