diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-04-06 01:22:47 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-04-06 01:46:53 +0100 |
commit | d4150c317c6f6e790b4231e1a9e564007c88c3c7 (patch) | |
tree | 96f007e9b658d1e14454b4c2c515d458120d4602 /lib | |
parent | 0bc14c9faf1fd951ad905a5ab1be67f546bbad68 (diff) |
http_negotiate_sspi: Fixed compilation when USE_HTTP_NEGOTIATE not defined
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http_negotiate_sspi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/http_negotiate_sspi.c b/lib/http_negotiate_sspi.c index 9842ac87a..8396a6197 100644 --- a/lib/http_negotiate_sspi.c +++ b/lib/http_negotiate_sspi.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2014, 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 @@ -24,7 +24,7 @@ #ifdef USE_WINDOWS_SSPI -#ifndef CURL_DISABLE_HTTP +#if !defined(CURL_DISABLE_HTTP) && defined(USE_HTTP_NEGOTIATE) #include "urldata.h" #include "sendf.h" @@ -300,6 +300,6 @@ void Curl_cleanup_negotiate(struct SessionHandle *data) cleanup(&data->state.proxyneg); } +#endif /* !CURL_DISABLE_HTTP && USE_HTTP_NEGOTIATE */ -#endif -#endif +#endif /* USE_WINDOWS_SSPI */ |