Do not disable lz4 in debug builds.

This commit is contained in:
Bartosz Taudul 2017-10-18 18:50:42 +02:00
parent 6a2cbe2842
commit c5ea9c744c

View File

@ -27,10 +27,6 @@
#include "TracyProfiler.hpp"
#include "TracyThread.hpp"
#ifdef _DEBUG
# define TRACY_DISABLE_LZ4
#endif
#ifdef __GNUC__
#define init_order( val ) __attribute__ ((init_priority(val)))
#else
@ -159,7 +155,7 @@ void Profiler::Worker()
WelcomeMessage welcome;
#ifdef TRACY_DISABLE_LZ4
// notify client that lz4 compression is disabled (too slow in debug builds)
// notify client that lz4 compression is disabled
welcome.lz4 = 0;
#else
welcome.lz4 = 1;