From 652b8602d32e5218ae4a2e49a98b3466db603950 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Mon, 8 Sep 2014 06:05:03 -0500 Subject: [PATCH] Fix building ARMv7 on the 64bit Android NDK. Google has gotten their act together and fixes a few of the signal handling headers. Change over to a header that works on both r10 32bit and r10 64bit. 32bit has the old "broken" headers as in some didn't even exist. 64bit has the "fixed" headers that one would expect on any regular unix system. --- Source/Core/Core/PowerPC/JitCommon/JitBackpatch.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/JitCommon/JitBackpatch.h b/Source/Core/Core/PowerPC/JitCommon/JitBackpatch.h index 3a573f7531..43b9b4cfe9 100644 --- a/Source/Core/Core/PowerPC/JitCommon/JitBackpatch.h +++ b/Source/Core/Core/PowerPC/JitCommon/JitBackpatch.h @@ -84,8 +84,9 @@ const int BACKPATCH_SIZE = 5; #define CTX_R15 gregs[REG_R15] #define CTX_RIP gregs[REG_RIP] #elif _M_ARM_32 + #include // Add others if required. - typedef struct sigcontext SContext; + typedef sigcontext SContext; #define CTX_PC arm_pc #else #warning No context definition for OS