Replaced SPDLOG_DISABLE_TID_CACHING with SPDLOG_NO_TLS

This commit is contained in:
gabime 2018-11-16 10:07:31 +02:00
parent 8a0fc92f20
commit b522413085
1 changed files with 7 additions and 0 deletions

View File

@ -41,6 +41,13 @@
#define SPDLOG_DEPRECATED
#endif
// disable thread local on msvc 2013
#ifndef SPDLOG_NO_TLS
#if (defined(_MSC_VER) && (_MSC_VER < 1900))
#define SPDLOG_NO_TLS 1
#endif
#endif
#include "spdlog/fmt/fmt.h"
namespace spdlog {