Workaround 'sa_sigaction member missing' compiler error (Android/x32)
authorIvan Maidanski <ivmai@mail.ru>
Wed, 9 Sep 2015 22:36:30 +0000 (01:36 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 9 Sep 2015 22:36:30 +0000 (01:36 +0300)
commit6d9eec852611157df5eca913caa9d23b80473113
treeb1557b245d3d6439992de0ebe283a98c7575f6cb
parentaf2edc0bc059244c7b4bcbd183297520d71aff26
Workaround 'sa_sigaction member missing' compiler error (Android/x32)

Client should define NO_SA_SIGACTION to enable the workaround.

* include/private/gcconfig.h (NO_SA_SIGACTION): New macro (explicitly
define if SA_SIGINFO undefined).
* include/private/gcconfig.h (MPROTECT_VDB): Undefine if
NO_SA_SIGACTION unless DARWIN, MSWIN32 or MSWINCE.
* pthread_stop_world.c (GC_suspend_handler, GC_stop_init): Check
NO_SA_SIGACTION instead of SA_SIGINFO.
include/private/gcconfig.h
pthread_stop_world.c