Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Since revision 10c, Android NDK includes proper struct ucontext_t #6617
Original bug ID: 6617
In asmrun/signals_osdep.h we have this code:
There probably should be an s.h HAVE_ macro for this, as since r10c NDK includes ucontext_t, which is included from signal.h, and it clashes with this definition.
Comment author: vouillon
I'm not sure anyone has ever done an Android native build...
A simple option is to just remove this Android specific code. I don't think we need to support older versions of the Android NDK.
Otherwise, one could refine the conditional: