diff options
author | Gunter Knauf <gk@gknw.de> | 2007-01-29 00:51:02 +0000 |
---|---|---|
committer | Gunter Knauf <gk@gknw.de> | 2007-01-29 00:51:02 +0000 |
commit | ddace02efe44a4021d75f62cc30816d4f1a30776 (patch) | |
tree | c92d8a713a058724d03513e358f3a95bee90a60f /lib/setup.h | |
parent | 1f4c8c4f0931ceb1afc11e6d5310d4d8e953b0a8 (diff) | |
download | curl-ddace02efe44a4021d75f62cc30816d4f1a30776.tar.gz |
fixed segfault when compiled with MingW32 and cmd or command shell.
Diffstat (limited to 'lib/setup.h')
-rw-r--r-- | lib/setup.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/setup.h b/lib/setup.h index 6bcde3d5c..84acfcafd 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -364,6 +364,11 @@ int fileno( FILE *stream); #define DEBUGF(x) #endif +/* non-configure builds may define CURL_WANTS_CA_BUNDLE_ENV */ +#if defined(CURL_WANTS_CA_BUNDLE_ENV) && !defined(CURL_CA_BUNDLE) +#define CURL_CA_BUNDLE getenv("CURL_CA_BUNDLE") +#endif + /* * Include macros and defines that should only be processed once. */ |