diff options
Diffstat (limited to 'src/tool_main.c')
-rw-r--r-- | src/tool_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_main.c b/src/tool_main.c index 5679f361e..7d1e62b79 100644 --- a/src/tool_main.c +++ b/src/tool_main.c @@ -237,7 +237,7 @@ static void main_free(struct GlobalConfig *config) config->last = NULL; } -#ifdef _WIN32 +#ifdef WIN32 /* TerminalSettings for Windows */ static struct TerminalSettings { HANDLE hStdOut; @@ -275,7 +275,7 @@ static void configure_terminal(void) static void restore_terminal(void) { -#ifdef _WIN32 +#ifdef WIN32 /* Restore Console output mode and codepage to whatever they were * when Curl started */ SetConsoleMode(TerminalSettings.hStdOut, TerminalSettings.dwOutputMode); |