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
5d7947df
Commit
5d7947df
authored
Jan 12, 2015
by
Rupert Steel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed 2 macro redefinition warnings releated to WIN32_LEAN_AND_MEAN.
parent
1d8ac6de
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
include/spdlog/details/format.cc
include/spdlog/details/format.cc
+3
-1
include/spdlog/details/os.h
include/spdlog/details/os.h
+4
-2
No files found.
include/spdlog/details/format.cc
View file @
5d7947df
...
@@ -39,7 +39,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
...
@@ -39,7 +39,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <cstdarg>
#include <cstdarg>
#ifdef _WIN32
#ifdef _WIN32
# define WIN32_LEAN_AND_MEAN
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
# endif
# ifdef __MINGW32__
# ifdef __MINGW32__
# include <cstring>
# include <cstring>
# endif
# endif
...
...
include/spdlog/details/os.h
View file @
5d7947df
...
@@ -29,8 +29,10 @@
...
@@ -29,8 +29,10 @@
#include<ctime>
#include<ctime>
#ifdef _WIN32
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
# ifndef WIN32_LEAN_AND_MEAN
#include <Windows.h>
# define WIN32_LEAN_AND_MEAN
# endif
# include <Windows.h>
#endif
#endif
namespace
spdlog
namespace
spdlog
...
...
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