Disable usage of wchar_t in tests.

This commit is contained in:
Artem Martynovich
2015-07-21 17:32:53 +06:00
parent 5508607dfa
commit 787aa46693
5 changed files with 21 additions and 6 deletions

View File

@@ -36,7 +36,11 @@
#define SPDLOG_NOEXCEPT throw()
#endif
#ifdef WIN32
#if !defined(SPDLOG_NO_WCHAR) && defined(WIN32)
#define SPDLOG_USE_WCHAR
#endif
#if defined(WIN32) && defined(SPDLOG_USE_WCHAR)
typedef std::wstring tstring;
typedef wchar_t tchar;
#define S(s) L ## s