Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spdlog
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
spdlog
Commits
d905ad91
Commit
d905ad91
authored
Jul 26, 2015
by
Ilya Kulakov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use only SPDLOG_USE_WCHAR to control whether wchar_t is enabled.
parent
787aa466
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
7 deletions
+2
-7
include/spdlog/common.h
include/spdlog/common.h
+0
-4
include/spdlog/tweakme.h
include/spdlog/tweakme.h
+2
-2
tests/includes.h
tests/includes.h
+0
-1
No files found.
include/spdlog/common.h
View file @
d905ad91
...
...
@@ -36,10 +36,6 @@
#define SPDLOG_NOEXCEPT throw()
#endif
#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
;
...
...
include/spdlog/tweakme.h
View file @
d905ad91
...
...
@@ -75,6 +75,6 @@
///////////////////////////////////////////////////////////////////////////////
// Uncomment to
dis
able usage of wchar_t for file names on Windows.
// #define SPDLOG_
NO
_WCHAR
// Uncomment to
en
able usage of wchar_t for file names on Windows.
// #define SPDLOG_
USE
_WCHAR
///////////////////////////////////////////////////////////////////////////////
tests/includes.h
View file @
d905ad91
...
...
@@ -7,7 +7,6 @@
#include <chrono>
#include <exception>
#define SPDLOG_NO_WCHAR
#include "catch.hpp"
#include "../include/spdlog/spdlog.h"
#include "../include/spdlog/sinks/null_sink.h"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment