From 24b30d259caf2317bc38873b2f6ee20dd9682cc7 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Fri, 12 Dec 2014 22:08:03 +0000 Subject: 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. --- lib/version.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/version.c') 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 -- cgit v1.2.3