mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
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:
parent
7a13494424
commit
3aaa718741
@ -2,7 +2,7 @@
|
||||
#define __TRACYSYSTEM_HPP__
|
||||
|
||||
#ifdef TRACY_ENABLE
|
||||
# ifdef __ANDROID__
|
||||
# if defined __ANDROID__ || defined __CYGWIN__
|
||||
# define TRACY_COLLECT_THREAD_NAMES
|
||||
# endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user