Merge pull request #1567 from comex/remove-android-ndk-hack

Remove Android <ucontext.h> hack.
This commit is contained in:
Matthew Parlane 2014-11-21 19:56:28 +13:00
commit 1f7dbbef07
1 changed files with 1 additions and 14 deletions

View File

@ -88,20 +88,7 @@
#elif defined(__linux__)
#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>
#endif
#include <ucontext.h>
typedef mcontext_t SContext;
#if _M_X86_64