https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5741562d55854ef89a9c6…
commit 5741562d55854ef89a9c63943d2e00cfe21df295
Author: winesync <ros-dev(a)reactos.org>
AuthorDate: Sun Mar 13 19:05:10 2022 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Mar 20 19:28:26 2022 +0100
[WINESYNC] msi: Global variable compatibility update for gcc 10.
Signed-off-by: Michael Cronenworth <mike(a)cchtml.com>
Signed-off-by: Hans Leidekker <hans(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id cc7f698b8245a48669d248569e7589ff824f2c70 by Michael Cronenworth
<mike(a)cchtml.com>
---
dll/win32/msi/msi.c | 2 ++
dll/win32/msi/msipriv.h | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/dll/win32/msi/msi.c b/dll/win32/msi/msi.c
index 24bcf9c4edf..00867b5f8ba 100644
--- a/dll/win32/msi/msi.c
+++ b/dll/win32/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/dll/win32/msi/msipriv.h b/dll/win32/msi/msipriv.h
index feb76e77728..82e2977f0d2 100644
--- a/dll/win32/msi/msipriv.h
+++ b/dll/win32/msi/msipriv.h
@@ -42,7 +42,7 @@
#include "winemsi_s.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