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.
This commit is contained in:
Bartosz Taudul 2017-10-30 21:57:45 +01:00
parent 7a13494424
commit 3aaa718741

View File

@ -2,7 +2,7 @@
#define __TRACYSYSTEM_HPP__
#ifdef TRACY_ENABLE
# ifdef __ANDROID__
# if defined __ANDROID__ || defined __CYGWIN__
# define TRACY_COLLECT_THREAD_NAMES
# endif
#endif