diff options
author | Bartosz Taudul <bartosz.taudul@game-lion.com> | 2017-10-31 13:36:43 +0300 |
---|---|---|
committer | Bartosz Taudul <bartosz.taudul@game-lion.com> | 2017-10-31 13:36:43 +0300 |
commit | 391571a2da15236a4cf61f0219e4a459a1fdf088 (patch) | |
tree | 30bef2b07b3eb145b32923eba2ddce34dbc0c420 | |
parent | b1de9872c37209168ea342f258409fbb42101354 (diff) |
Fix android with tracy disabled.
-rw-r--r-- | common/TracySystem.cpp | 2 |
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; |