diff --git a/src/details/os_windows.cpp b/src/details/os_windows.cpp index 0f87a678..b919796a 100644 --- a/src/details/os_windows.cpp +++ b/src/details/os_windows.cpp @@ -5,6 +5,10 @@ #error "_WIN32 only source file" #endif +// clang-format off +#include "spdlog/details/windows_include.h" +// clang-format on + #include // for FlushFileBuffers #include // for _get_osfhandle, _isatty, _fileno #include // for _get_pid @@ -22,7 +26,6 @@ #include "spdlog/common.h" #include "spdlog/details/os.h" -#include "spdlog/details/windows_include.h" #ifdef __MINGW32__ #include @@ -190,7 +193,6 @@ std::string filename_to_str(const filename_t &filename) { return filename; } int pid() noexcept { return static_cast(::GetCurrentProcessId()); } - bool is_color_terminal() noexcept { return true; } // Determine if the terminal attached