From 3aaa7187419a9fcae6834eeda5dfd15af77f307f Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 30 Oct 2017 21:57:45 +0100 Subject: [PATCH] Enable thread name collection on cygwin. It was working before, because there was _GNU_SOURCE define injection. Without this macro defined pthread_[gs]etname_np() functions are not exposed in the API. --- common/TracySystem.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/TracySystem.hpp b/common/TracySystem.hpp index 950c2b6e..8b753cfb 100644 --- a/common/TracySystem.hpp +++ b/common/TracySystem.hpp @@ -2,7 +2,7 @@ #define __TRACYSYSTEM_HPP__ #ifdef TRACY_ENABLE -# ifdef __ANDROID__ +# if defined __ANDROID__ || defined __CYGWIN__ # define TRACY_COLLECT_THREAD_NAMES # endif #endif