Fixed wchar support in messages

This commit is contained in:
gabime
2018-07-10 17:01:49 +03:00
parent 898e1f2641
commit 81f29a9a7a
3 changed files with 23 additions and 20 deletions

View File

@@ -18,7 +18,7 @@
#include <string>
#include <unordered_map>
#if defined(_WIN32) && defined(SPDLOG_WCHAR_FILENAMES)
#if defined(SPDLOG_WCHAR_FILENAMES) || defined(SPDLOG_WCHAR_TO_UTF8_SUPPORT)
#include <codecvt>
#include <locale>
#endif