mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-25 06:59:11 +08:00
fix bug #1790
This commit is contained in:
parent
efbff95ec7
commit
0385372314
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user