mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 11:29:01 +08:00
Fix Unix build. Use S("...") instead of L"..." for better compatibility.
This commit is contained in:
@@ -39,8 +39,9 @@
|
||||
#ifdef WIN32
|
||||
typedef std::wstring tstring;
|
||||
typedef wchar_t tchar;
|
||||
#define S(s) L ## s
|
||||
#else
|
||||
#define L
|
||||
#define S(s) s
|
||||
typedef std::string tstring;
|
||||
typedef char tchar;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user