Skip to content

Commit

Permalink
fix bug gabime#1790
Browse files Browse the repository at this point in the history
  • Loading branch information
LonghronShen authored Apr 5, 2021
1 parent efbff95 commit 0385372
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 0385372

Please sign in to comment.