Skip to content

Commit 65ce90b

Browse files
committed
fixup! fixup! Add colour to '-X importtime' output
1 parent bc8c0d5 commit 65ce90b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Python/colorize.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88

99
#include <stdlib.h> // getenv()
1010
#include <string.h> // strcmp()
11-
#if !defined(MS_WINDOWS)
11+
#ifdef MS_WINDOWS
12+
# include <windows.h> // GetStdHandle(), GetConsoleMode()
13+
# include <io.h> // isatty(), fileno()
14+
#else
1215
# include <unistd.h> // isatty()
1316
#endif
1417

0 commit comments

Comments
 (0)