Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <bartosz.taudul@game-lion.com>2017-10-31 13:36:43 +0300
committerBartosz Taudul <bartosz.taudul@game-lion.com>2017-10-31 13:36:43 +0300
commit391571a2da15236a4cf61f0219e4a459a1fdf088 (patch)
tree30bef2b07b3eb145b32923eba2ddce34dbc0c420
parentb1de9872c37209168ea342f258409fbb42101354 (diff)
Fix android with tracy disabled.
-rw-r--r--common/TracySystem.cpp2
1 files changed, 1 insertions, 1 deletions
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;