summaryrefslogtreecommitdiff
path: root/lib/version.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-12-12 22:08:03 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-12-12 22:34:18 +0000
commit24b30d259caf2317bc38873b2f6ee20dd9682cc7 (patch)
tree8e9147d3d06e461c4ccb96a051b179e500e0ecc6 /lib/version.c
parent82fdb87b275db7bbff512e04ed7cf199aa1da8d8 (diff)
downloadcurl-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/version.c')
-rw-r--r--lib/version.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/version.c b/lib/version.c
index 83143f402..9ac922665 100644
--- a/lib/version.c
+++ b/lib/version.c
@@ -217,6 +217,7 @@ static const char * const protocols[] = {
"sftp",
#endif
#if !defined(CURL_DISABLE_SMB) && defined(USE_NTLM) && \
+ (CURL_SIZEOF_CURL_OFF_T > 4) && \
(!defined(USE_WINDOWS_SSPI) || defined(USE_WIN32_CRYPTO))
"smb",
# ifdef USE_SSL