Fixed wchar support under msvc

This commit is contained in:
gabime
2021-06-26 19:43:37 +03:00
parent cdad84aa46
commit d75fd2c7f9
3 changed files with 28 additions and 0 deletions

View File

@@ -35,6 +35,10 @@
#include <spdlog/fmt/fmt.h>
#if defined(SPDLOG_WCHAR_FILENAMES) || defined(SPDLOG_WCHAR_TO_UTF8_SUPPORT)
# include <spdlog/fmt/xchar.h>
#endif
// visual studio upto 2013 does not support noexcept nor constexpr
#if defined(_MSC_VER) && (_MSC_VER < 1900)
# define SPDLOG_NOEXCEPT _NOEXCEPT