From e150150d9f1e0578c85af05de15ab6336066cec1 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 11 Oct 2006 16:01:16 +0000 Subject: Remove redundant __CYGWIN__ symbol check --- src/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/main.c b/src/main.c index bb3839253..171097af7 100644 --- a/src/main.c +++ b/src/main.c @@ -3107,7 +3107,7 @@ static void free_config_fields(struct Configurable *config) curl_slist_free_all(config->headers); } -#if defined(WIN32) && !defined(__CYGWIN__) +#ifdef WIN32 /* Function to find CACert bundle on a Win32 platform using SearchPath. * (SearchPath is already declared via inclusions done in setup header file) @@ -3322,7 +3322,7 @@ operate(struct Configurable *config, int argc, char *argv[]) else allocuseragent = TRUE; - /* On WIN32 (non-cygwin), we can't set the path to curl-ca-bundle.crt + /* On WIN32 we can't set the path to curl-ca-bundle.crt * at compile time. So we look here for the file in two ways: * 1: look at the environment variable CURL_CA_BUNDLE for a path * 2: if #1 isn't found, use the windows API function SearchPath() @@ -3350,7 +3350,7 @@ operate(struct Configurable *config, int argc, char *argv[]) if(env) curl_free(env); -#if defined(WIN32) && !defined(__CYGWIN__) +#ifdef WIN32 else FindWin32CACert(config, "curl-ca-bundle.crt"); #endif -- cgit v1.2.3