There was an error while loading. Please reload this page.
2 parents 0cac843 + 339a92a commit 5120ad8Copy full SHA for 5120ad8
public/client/tracy_rpmalloc.cpp
@@ -690,7 +690,9 @@ static pthread_key_t _memory_thread_heap;
690
# define _Thread_local __declspec(thread)
691
# define TLS_MODEL
692
# else
693
-# ifndef __HAIKU__
+# if defined(__ANDROID__) && __ANDROID_API__ >= 29 && defined(__NDK_MAJOR__) && __NDK_MAJOR__ >= 26
694
+# define TLS_MODEL __attribute__((tls_model("local-dynamic")))
695
+# elif !defined(__HAIKU__)
696
# define TLS_MODEL __attribute__((tls_model("initial-exec")))
697
698
0 commit comments