diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-12-05 23:59:32 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-12-05 23:59:32 +0000 |
commit | ac269a8f68323db6b579f11f864035bc2691081d (patch) | |
tree | 5bc2116fe477a0b7b01a07331413ba61d8e7306b /lib/cookie.c | |
parent | 35944744f84f8127529b315951946416fa592a7c (diff) |
Dan Fandrich added the --disable-cookies option to configure to build
libcurl without cookie support. This is mainly useful if you want to build a
minimalistic libcurl with no cookies support at all. Like for embedded
systems or similar.
Diffstat (limited to 'lib/cookie.c')
-rw-r--r-- | lib/cookie.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cookie.c b/lib/cookie.c index f1750f6d8..ba4d295ab 100644 --- a/lib/cookie.c +++ b/lib/cookie.c @@ -80,7 +80,7 @@ Example set of cookies: #include "setup.h" -#ifndef CURL_DISABLE_HTTP +#if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_COOKIES) #include <stdlib.h> #include <string.h> @@ -878,4 +878,4 @@ int Curl_cookie_output(struct CookieInfo *c, char *dumphere) return 0; } -#endif /* CURL_DISABLE_HTTP */ +#endif /* CURL_DISABLE_HTTP || CURL_DISABLE_COOKIES */ |