From 391571a2da15236a4cf61f0219e4a459a1fdf088 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 31 Oct 2017 11:36:43 +0100 Subject: [PATCH] Fix android with tracy disabled. --- common/TracySystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;