mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-02 00:50:23 +00:00
12 lines
468 B
Diff
12 lines
468 B
Diff
--- a/Source/bmalloc/libpas/src/libpas/pas_thread_local_cache.c
|
|
+++ b/Source/bmalloc/libpas/src/libpas/pas_thread_local_cache.c
|
|
@@ -214,6 +214,8 @@ static void dump_thread_diagnostics(pthr
|
|
#endif
|
|
#if PAS_PLATFORM(PLAYSTATION)
|
|
getname_result = pthread_get_name_np(thread, thread_name);
|
|
+#elif defined __ANDROID__ && __ANDROID_API__ < 26
|
|
+ getname_result = -1;
|
|
#else
|
|
getname_result = pthread_getname_np(thread, thread_name, sizeof(thread_name));
|
|
#endif
|