diff options
Diffstat (limited to 'lib/smb.c')
-rw-r--r-- | lib/smb.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -22,7 +22,8 @@ #include "curl_setup.h" -#if !defined(CURL_DISABLE_SMB) && defined(USE_NTLM) +#if !defined(CURL_DISABLE_SMB) && defined(USE_NTLM) && \ + (CURL_SIZEOF_CURL_OFF_T > 4) #if !defined(USE_WINDOWS_SSPI) || defined(USE_WIN32_CRYPTO) @@ -902,4 +903,4 @@ static CURLcode smb_parse_url_path(struct connectdata *conn) #endif /* !USE_WINDOWS_SSPI || USE_WIN32_CRYPTO */ -#endif /* CURL_DISABLE_SMB && USE_NTLM */ +#endif /* CURL_DISABLE_SMB && USE_NTLM && CURL_SIZEOF_CURL_OFF_T > 4 */ |