mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 12:53:51 +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__
|
#define __TRACYSYSTEM_HPP__
|
||||||
|
|
||||||
#ifdef TRACY_ENABLE
|
#ifdef TRACY_ENABLE
|
||||||
# ifdef __ANDROID__
|
# if defined __ANDROID__ || defined __CYGWIN__
|
||||||
# define TRACY_COLLECT_THREAD_NAMES
|
# define TRACY_COLLECT_THREAD_NAMES
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user