aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-10-11 16:01:16 +0000
committerYang Tse <yangsita@gmail.com>2006-10-11 16:01:16 +0000
commite150150d9f1e0578c85af05de15ab6336066cec1 (patch)
tree7ccad4887ea68afc2ce0503b4fa7a913fdd40d60 /src
parent943f0733bb187dfacdfdc23806ab030cee97c9fc (diff)
Remove redundant __CYGWIN__ symbol check
Diffstat (limited to 'src')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
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