aboutsummaryrefslogtreecommitdiff
path: root/lib/ssh.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-08-05 16:27:39 +0200
committerYang Tse <yangsita@gmail.com>2010-08-05 16:27:39 +0200
commit992ceae386cc9452d5961c20e1ce23e57260fed2 (patch)
treea6960055f6d8c45e15836a1cda17a6a47b79521c /lib/ssh.c
parent364fd2f1ada84eb713ec14629ca66fa332b19851 (diff)
build: fix libssh2_scp_send64() availability
Diffstat (limited to 'lib/ssh.c')
-rw-r--r--lib/ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh.c b/lib/ssh.c
index fe8c16a24..06fd43999 100644
--- a/lib/ssh.c
+++ b/lib/ssh.c
@@ -489,7 +489,7 @@ static int sshkeycallback(CURL *easy,
* Earlier libssh2 versions didn't do SCP properly beyond 32bit sizes on 32bit
* architectures so we check of the necessary function is present.
*/
-#ifdef HAVE_LIBSSH2_SCP_SEND64
+#ifndef HAVE_LIBSSH2_SCP_SEND64
#define SCP_SEND(a,b,c,d) libssh2_scp_send_ex(a, b, (int)(c), (size_t)d, 0, 0)
#else
#define SCP_SEND(a,b,c,d) libssh2_scp_send64(a, b, (int)(c), \