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
2ac214ae
Commit
2ac214ae
authored
Mar 02, 2014
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
snprinf for msc ver
parent
b396ff85
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
0 deletions
+5
-0
example.cpp
example/example.cpp
+0
-0
blocking_queue.h
include/c11log/details/blocking_queue.h
+0
-0
os.h
include/c11log/details/os.h
+5
-0
No files found.
example/example.cpp
View file @
2ac214ae
include/c11log/details/blocking_queue.h
View file @
2ac214ae
include/c11log/details/os.h
View file @
2ac214ae
...
@@ -31,3 +31,8 @@ inline std::tm c11log::details::os::localtime()
...
@@ -31,3 +31,8 @@ inline std::tm c11log::details::os::localtime()
std
::
time_t
now_t
=
time
(
0
);
std
::
time_t
now_t
=
time
(
0
);
return
localtime
(
now_t
);
return
localtime
(
now_t
);
}
}
// Take care of snprintf in visual studio
#ifdef _MSC_VER
#define snprintf _snprintf
#endif
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