On Thu, 12 Jul 2018, Hugo Beauzée-Luyssen wrote:
The function isn't available on IA-32, and neither are some of the types it
uses.
---
mingw-w64-libraries/winstorecompat/src/RtlAddFunctionTable.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/mingw-w64-libraries/winstorecompat/src/RtlAddFunctionTable.c
b/mingw-w64-libraries/winstorecompat/src/RtlAddFunctionTable.c
index d1c31635..241c3e0f 100644
--- a/mingw-w64-libraries/winstorecompat/src/RtlAddFunctionTable.c
+++ b/mingw-w64-libraries/winstorecompat/src/RtlAddFunctionTable.c
@@ -22,6 +22,8 @@
DEALINGS IN THE SOFTWARE.
*/
+#if defined(__x86_64__) || defined(__arm__)
+
This misses aarch64.
To silence the warning about empty translation unit, I moved the ifdef
down below the includes, and I inverted the condition into #ifndef _X86_
instead.
Pushed with those tweaks, thanks for the patch!
// Martin
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public