mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-13 09:51:31 +02:00
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.
This commit is contained in:
parent
4c9a2c6e22
commit
652b8602d3
@ -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 <asm/sigcontext.h>
|
||||
// Add others if required.
|
||||
typedef struct sigcontext SContext;
|
||||
typedef sigcontext SContext;
|
||||
#define CTX_PC arm_pc
|
||||
#else
|
||||
#warning No context definition for OS
|
||||
|
Loading…
x
Reference in New Issue
Block a user