mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 03:19:02 +08:00
Add wchar_t support for Windows.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user