diff --git a/common/TracySystem.cpp b/common/TracySystem.cpp index 889cc7d5..a64198c8 100644 --- a/common/TracySystem.cpp +++ b/common/TracySystem.cpp @@ -131,7 +131,7 @@ const char* GetThreadName( uint64_t id ) } } # endif -# elif defined _GNU_SOURCE +# elif defined _GNU_SOURCE && !defined __ANDROID__ if( pthread_getname_np( (pthread_t)id, buf, 256 ) == 0 ) { return buf;