diff --git a/include/spdlog/sinks/stdout_sinks-inl.h b/include/spdlog/sinks/stdout_sinks-inl.h index 25192607..d6768f59 100644 --- a/include/spdlog/sinks/stdout_sinks-inl.h +++ b/include/spdlog/sinks/stdout_sinks-inl.h @@ -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 + +#ifndef _USING_V110_SDK71_ #include // WriteFile (..) +#endif + #include // _get_osfhandle(..) #include // _fileno(..) #endif // WIN32