Skip to content

Commit

Permalink
Merge pull request #1906 from LonghronShen/v1.x
Browse files Browse the repository at this point in the history
fix bug #1790
  • Loading branch information
gabime authored Apr 8, 2021
2 parents 51fadf6 + 0385372 commit 57e31f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/spdlog/sinks/stdout_sinks-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
// under windows using fwrite to non-binary stream results in \r\r\n (see issue #1675)
// so instead we use ::FileWrite
#include <spdlog/details/windows_include.h>

#ifndef _USING_V110_SDK71_
#include <fileapi.h> // WriteFile (..)
#endif

#include <io.h> // _get_osfhandle(..)
#include <stdio.h> // _fileno(..)
#endif // WIN32
Expand Down

0 comments on commit 57e31f0

Please sign in to comment.