diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-12-12 22:08:03 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-12-12 22:34:18 +0000 |
commit | 24b30d259caf2317bc38873b2f6ee20dd9682cc7 (patch) | |
tree | 8e9147d3d06e461c4ccb96a051b179e500e0ecc6 /lib/smb.h | |
parent | 82fdb87b275db7bbff512e04ed7cf199aa1da8d8 (diff) | |
download | curl-24b30d259caf2317bc38873b2f6ee20dd9682cc7.tar.gz |
smb: Disable SMB when 64-bit integers are not supported
This fixes compilation issues with compilers that don't support 64-bit
integers through long long or __int64.
Diffstat (limited to 'lib/smb.h')
-rw-r--r-- | lib/smb.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -256,7 +256,8 @@ struct smb_tree_disconnect { #endif /* BUILDING_CURL_SMB_C */ -#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) @@ -265,6 +266,6 @@ extern const struct Curl_handler Curl_handler_smbs; #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 */ #endif /* HEADER_CURL_SMB_H */ |