From 29bcba9a9075265cefd967a1dfdbac50a6958245 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 24 Jan 2001 14:44:05 +0000 Subject: Ingo Ralf Blum's cygwin fixes --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main.c b/src/main.c index 6016b3d57..2f3f1edc2 100644 --- a/src/main.c +++ b/src/main.c @@ -48,7 +48,7 @@ /* This is now designed to have its own local setup.h */ #include "setup.h" -#ifdef WIN32 +#if defined(WIN32)&&!defined(__CYGWIN32__) #include #endif @@ -1713,7 +1713,7 @@ operate(struct Configurable *config, int argc, char *argv[]) if(!config->errors) config->errors = stderr; -#ifdef WIN32 +#if defined(WIN32) && !defined(__CYGWIN32__) if(!outfile && !(config->conf & CONF_GETTEXT)) { /* We get the output to stdout and we have not got the ASCII/text flag, then set stdout to be binary */ -- cgit v1.2.3