Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
spdlog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
spdlog
Commits
d905ad91
Commit
d905ad91
authored
9 years ago
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
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
7 deletions
+2
-7
common.h
include/spdlog/common.h
+0
-4
tweakme.h
include/spdlog/tweakme.h
+2
-2
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
;
...
...
This diff is collapsed.
Click to expand it.
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
///////////////////////////////////////////////////////////////////////////////
This diff is collapsed.
Click to expand it.
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"
This diff is collapsed.
Click to expand it.
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