From 82fc381d6b3d30265a4fc59c51d49482e148fc36 Mon Sep 17 00:00:00 2001 From: Michael Cronenworth Date: Wed, 22 Jan 2020 20:41:18 -0600 Subject: [PATCH] Another armv7hl fix --- wine-5.0-gcc10.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/wine-5.0-gcc10.patch b/wine-5.0-gcc10.patch index fea9e3f..a4a01e5 100644 --- a/wine-5.0-gcc10.patch +++ b/wine-5.0-gcc10.patch @@ -263,3 +263,16 @@ int find_string( const struct dictionary *, const unsigned char *, ULONG, ULONG * ) DECLSPEC_HIDDEN; HRESULT insert_string( struct dictionary *, unsigned char *, ULONG, int, ULONG * ) DECLSPEC_HIDDEN; +--- a/dlls/xinput1_3/xinput_private.h 2020-01-21 11:03:21.000000000 -0600 ++++ b/dlls/xinput1_3/xinput_private.h 2020-01-22 20:39:40.632230103 -0600 +@@ -26,8 +26,8 @@ + XINPUT_VIBRATION vibration; + } xinput_controller; + +-CRITICAL_SECTION xinput_crit; +-xinput_controller controllers[XUSER_MAX_COUNT]; ++extern CRITICAL_SECTION xinput_crit; ++extern xinput_controller controllers[XUSER_MAX_COUNT]; + + void HID_find_gamepads(xinput_controller *devices) DECLSPEC_HIDDEN; + void HID_destroy_gamepads(xinput_controller *devices) DECLSPEC_HIDDEN;