Add wchar_t support for Windows.

This commit is contained in:
Artem Martynovich
2015-07-13 19:43:22 +06:00
parent 08b6b0beed
commit 2b59393bda
6 changed files with 68 additions and 38 deletions

View File

@@ -36,6 +36,14 @@
#define SPDLOG_NOEXCEPT throw()
#endif
#ifdef WIN32
typedef std::wstring tstring;
typedef wchar_t tchar;
#else
#define L
typedef std::string tstring;
typedef char tchar;
#endif
namespace spdlog
{