aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--external/easylogging++/easylogging++.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/external/easylogging++/easylogging++.cc b/external/easylogging++/easylogging++.cc
index 0f83e1de2..5c756bcdf 100644
--- a/external/easylogging++/easylogging++.cc
+++ b/external/easylogging++/easylogging++.cc
@@ -684,7 +684,9 @@ void LogBuilder::convertToColoredOutput(base::type::string_t* logLine, Level lev
}
void LogBuilder::setColor(Color color, bool bright) {
+#if !ELPP_OS_WINDOWS
if (m_termSupportsColor)
+#endif
el::base::utils::setConsoleColor(color, bright);
}