diff --git a/src/Logger.c b/src/Logger.c index 84f3f3e..3a3fcf5 100644 --- a/src/Logger.c +++ b/src/Logger.c @@ -4,7 +4,6 @@ #include #include -#include #include enum { DmGlob_logBufferSize = 4096 }; @@ -14,7 +13,7 @@ static void DmInt_defaultLogger(void* ctx, DmLogLevel lvl, char const* msg); static DmLogLevel DmGlob_logLevel = DmLogLevel_INFO; static DmLogHandler* DmGlob_logCallback = NULL; static void* DmGlob_logContext = NULL; -static thread_local char DmGlob_logBuffer[DmGlob_logBufferSize]; +static char DmGlob_logBuffer[DmGlob_logBufferSize]; void Dm_setLogger(DmLogLevel lvl, DmLogHandler* log, void* ctx) { DmGlob_logCallback = log;