Support build for Android 64-bit (arm64, mips64, x86_64)
authorIvan Maidanski <ivmai@mail.ru>
Wed, 9 Sep 2015 21:15:22 +0000 (00:15 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 9 Sep 2015 21:15:22 +0000 (00:15 +0300)
commitaf2edc0bc059244c7b4bcbd183297520d71aff26
tree60bfeca995381541ed0f608ca3c1a255e1dc6d30
parentb4696bd8afeb4098458538a04bd858d8d28f1a68
Support build for Android 64-bit (arm64, mips64, x86_64)

* include/private/gcconfig.h (_end): Replace type from char[] to int[]
to avoid redefinition error (as it is also declared in gc.h) for
Linux/x86_64.
* include/private/gcconfig.h (NO_GETCONTEXT): Define for all Android
targets.
* include/private/gcconfig.h (USE_TKILL_ON_ANDROID): New macro
(defined only for 32-bit Android targets).
* pthread_stop_world.c (tkill, android_thread_kill, GC_suspend_all,
GC_start_world): Use USE_TKILL_ON_ANDROID instead of PLATFORM_ANDROID.
include/private/gcconfig.h
pthread_stop_world.c