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:
parent
b1de9872c3
commit
391571a2da
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user