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/transfer.c | |
parent | 1261c3febab5aaba3feeaba8e689d11880c38b0f (diff) |
for now unless we do better fixed LIBSSH2_APINO compares to use long constants.
Diffstat (limited to 'lib/transfer.c')
-rw-r--r-- | lib/transfer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index c7f4a2d5b..655369473 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -332,10 +332,10 @@ CURLcode Curl_readwrite(struct connectdata *conn, if((k->keepon & (KEEP_READ|KEEP_READ_HOLD)) == KEEP_READ) { fd_read = conn->sockfd; -#if defined(USE_LIBSSH2) && (LIBSSH2_APINO >= 200706012030) +#if defined(USE_LIBSSH2) && defined(LIBSSH2_APINO) && (LIBSSH2_APINO >= 200706012030L) if (conn->protocol & (PROT_SCP|PROT_SFTP)) select_res |= CURL_CSELECT_IN; -#endif /* USE_LIBSSH2 && (LIBSSH2_APINO >= 200706012030) */ +#endif /* USE_LIBSSH2 && LIBSSH2_APINO && (LIBSSH2_APINO >= 200706012030L) */ } else fd_read = CURL_SOCKET_BAD; |