Workaround pthreads thread name limit.

This commit is contained in:
Bartosz Taudul 2018-03-31 01:22:21 +02:00
parent 347c74cec3
commit 48e82ea135

View File

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