1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Fix android with tracy disabled.

This commit is contained in:
Bartosz Taudul 2017-10-31 11:36:43 +01:00
parent b1de9872c3
commit 391571a2da

View File

@ -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;