Commit d905ad91 authored by Ilya Kulakov's avatar Ilya Kulakov

Use only SPDLOG_USE_WCHAR to control whether wchar_t is enabled.

parent 787aa466
...@@ -36,10 +36,6 @@ ...@@ -36,10 +36,6 @@
#define SPDLOG_NOEXCEPT throw() #define SPDLOG_NOEXCEPT throw()
#endif #endif
#if !defined(SPDLOG_NO_WCHAR) && defined(WIN32)
#define SPDLOG_USE_WCHAR
#endif
#if defined(WIN32) && defined(SPDLOG_USE_WCHAR) #if defined(WIN32) && defined(SPDLOG_USE_WCHAR)
typedef std::wstring tstring; typedef std::wstring tstring;
typedef wchar_t tchar; typedef wchar_t tchar;
......
...@@ -75,6 +75,6 @@ ...@@ -75,6 +75,6 @@
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// Uncomment to disable usage of wchar_t for file names on Windows. // Uncomment to enable usage of wchar_t for file names on Windows.
// #define SPDLOG_NO_WCHAR // #define SPDLOG_USE_WCHAR
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#include <chrono> #include <chrono>
#include <exception> #include <exception>
#define SPDLOG_NO_WCHAR
#include "catch.hpp" #include "catch.hpp"
#include "../include/spdlog/spdlog.h" #include "../include/spdlog/spdlog.h"
#include "../include/spdlog/sinks/null_sink.h" #include "../include/spdlog/sinks/null_sink.h"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment