diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-11-23 11:51:31 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-11-23 11:51:31 +0000 |
commit | cfff544d6798e8ef235b59a8d366d711159607be (patch) | |
tree | 586b6af94b752416d6bc0e8e9373024e24e1b6db /lib/setup.h | |
parent | 599d9642ca92a8f9b6feaef20844c1ef4f41dbcc (diff) |
only enable NTLM if HTTP and NTLM is not disabled, and if NTLM is disabled
we define an empty macro for the ntlm cleanup function
Diffstat (limited to 'lib/setup.h')
-rw-r--r-- | lib/setup.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/setup.h b/lib/setup.h index ce0fc5075..bebe4e85a 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -301,9 +301,11 @@ typedef int curl_socket_t; #define USE_SSL /* Either OpenSSL || GnuTLS */ #endif +#if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_NTLM) #if defined(USE_SSLEAY) || defined(USE_WINDOWS_SSPI) #define USE_NTLM #endif +#endif #ifdef CURLDEBUG #define DEBUGF(x) x |