Michael Cronenworth : msi: Global variable compatibility update for gcc 10.

Alexandre Julliard julliard at winehq.org
Mon Jan 27 15:00:24 CST 2020


Module: wine
Branch: master
Commit: cc7f698b8245a48669d248569e7589ff824f2c70
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=cc7f698b8245a48669d248569e7589ff824f2c70

Author: Michael Cronenworth <mike at cchtml.com>
Date:   Thu Jan 23 17:05:23 2020 -0600

msi: Global variable compatibility update for gcc 10.

Signed-off-by: Michael Cronenworth <mike at cchtml.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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




More information about the wine-cvs mailing list