summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/mp_msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mp_msg.c b/core/mp_msg.c
index ac59169fc2..86a544316e 100644
--- a/core/mp_msg.c
+++ b/core/mp_msg.c
@@ -138,7 +138,7 @@ static void set_msg_color(FILE* stream, int lev)
#endif
if (mp_msg_docolor())
{
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__CYGWIN__)
HANDLE *wstream = stream == stderr ? hSTDERR : hSTDOUT;
if (c == -1)
c = 7;