diff options
author | Gunter Knauf <gk@gknw.de> | 2007-07-14 15:59:01 +0000 |
---|---|---|
committer | Gunter Knauf <gk@gknw.de> | 2007-07-14 15:59:01 +0000 |
commit | fee4f8c86dc91ab1861118aa2cc149d87cc4ee85 (patch) | |
tree | 5e6713079b985ddd16e3c755ca71145971883749 /lib/url.c | |
parent | 1261c3febab5aaba3feeaba8e689d11880c38b0f (diff) |
for now unless we do better fixed LIBSSH2_APINO compares to use long constants.
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3361,10 +3361,10 @@ static CURLcode CreateConnection(struct SessionHandle *data, conn->curl_connect = Curl_ssh_connect; /* ssh_connect? */ conn->curl_do = Curl_scp_do; conn->curl_done = Curl_scp_done; -#if (LIBSSH2_APINO >= 200706012030) +#if defined(LIBSSH2_APINO) && (LIBSSH2_APINO >= 200706012030L) conn->curl_connecting = Curl_ssh_multi_statemach; conn->curl_doing = Curl_scp_doing; -#endif /* (LIBSSH2_APINO >= 200706012030) */ +#endif /* LIBSSH2_APINO && (LIBSSH2_APINO >= 200706012030L) */ conn->curl_do_more = (Curl_do_more_func)ZERO_NULL; #else failf(data, LIBCURL_NAME @@ -3380,10 +3380,10 @@ static CURLcode CreateConnection(struct SessionHandle *data, conn->curl_connect = Curl_ssh_connect; /* ssh_connect? */ conn->curl_do = Curl_sftp_do; conn->curl_done = Curl_sftp_done; -#if (LIBSSH2_APINO >= 200706012030) +#if defined(LIBSSH2_APINO) && (LIBSSH2_APINO >= 200706012030L) conn->curl_connecting = Curl_ssh_multi_statemach; conn->curl_doing = Curl_sftp_doing; -#endif /* (LIBSSH2_APINO >= 200706012030) */ +#endif /* LIBSSH2_APINO && (LIBSSH2_APINO >= 200706012030L) */ conn->curl_do_more = (Curl_do_more_func)ZERO_NULL; #else failf(data, LIBCURL_NAME |