diff options
author | Zoltan Varga <vargaz@gmail.com> | 2018-01-23 05:38:02 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2018-01-24 17:05:17 +0300 |
commit | e9f26e6de5a1a4b4ded6d55f1a09838da5056c07 (patch) | |
tree | 20abe59a860d669e01d3057c5cc9e38a01e2fb23 /tools | |
parent | 65fe9858bf528ce053c729758bfb489a44b5ec75 (diff) | |
download | bdwgc-e9f26e6de5a1a4b4ded6d55f1a09838da5056c07.tar.gz |
Use HOST_ANDROID define instead of PLATFORM_ANDROID
(a cherry-pick of commit 5d819c8 from 'mono_libgc')
* doc/README.macros (PLATFORM_ANDROID): Rename to HOST_ANDROID.
* dyn_load.c: Rename PLATFORM_ANDROID to HOST_ANDROID.
* include/gc.h: Likewise.
* include/gc_config_macros.h: Likewise.
* include/private/gcconfig.h: Likewise.
* include/private/thread_local_alloc.h: Likewise.
* os_dep.c: Likewise.
* pthread_support.c: Likewise.
* tests/initsecondarythread.c: Likewise.
* tests/test.c: Likewise.
* tools/threadlibs.c: Likewise.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/threadlibs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/threadlibs.c b/tools/threadlibs.c index 851e7e5f..832b3d13 100644 --- a/tools/threadlibs.c +++ b/tools/threadlibs.c @@ -27,7 +27,7 @@ int main(void) "-Wl,--wrap -Wl,pthread_detach -Wl,--wrap -Wl,pthread_sigmask " "-Wl,--wrap -Wl,pthread_exit -Wl,--wrap -Wl,pthread_cancel\n"); # endif -# if (defined(GC_LINUX_THREADS) && !defined(PLATFORM_ANDROID)) \ +# if (defined(GC_LINUX_THREADS) && !defined(HOST_ANDROID)) \ || defined(GC_IRIX_THREADS) || defined(GC_DARWIN_THREADS) \ || defined(GC_AIX_THREADS) || (defined(HURD) && defined(GC_THREADS)) # ifdef GC_USE_DLOPEN_WRAP |