mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Merge pull request #1567 from comex/remove-android-ndk-hack
Remove Android <ucontext.h> hack.
This commit is contained in:
commit
1f7dbbef07
@ -88,20 +88,7 @@
|
|||||||
#elif defined(__linux__)
|
#elif defined(__linux__)
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
||||||
#ifdef ANDROID
|
|
||||||
#include <asm/sigcontext.h>
|
|
||||||
typedef struct sigcontext mcontext_t;
|
|
||||||
typedef struct ucontext
|
|
||||||
{
|
|
||||||
uint32_t uc_flags;
|
|
||||||
struct ucontext* uc_link;
|
|
||||||
stack_t uc_stack;
|
|
||||||
mcontext_t uc_mcontext;
|
|
||||||
// ...
|
|
||||||
} ucontext_t;
|
|
||||||
#else
|
|
||||||
#include <ucontext.h>
|
#include <ucontext.h>
|
||||||
#endif
|
|
||||||
typedef mcontext_t SContext;
|
typedef mcontext_t SContext;
|
||||||
|
|
||||||
#if _M_X86_64
|
#if _M_X86_64
|
||||||
|
Loading…
Reference in New Issue
Block a user