summaryrefslogtreecommitdiff
path: root/lib/ssh.h
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.h
parent364fd2f1ada84eb713ec14629ca66fa332b19851 (diff)
downloadcurl-992ceae386cc9452d5961c20e1ce23e57260fed2.tar.gz
build: fix libssh2_scp_send64() availability
Diffstat (limited to 'lib/ssh.h')
-rw-r--r--lib/ssh.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/ssh.h b/lib/ssh.h
index d0882e956..406220cc4 100644
--- a/lib/ssh.h
+++ b/lib/ssh.h
@@ -151,8 +151,6 @@ struct ssh_conn {
#endif
#if defined(LIBSSH2_VERSION_NUM) && (LIBSSH2_VERSION_NUM >= 0x010000)
-/* libssh2_sftp_seek64() has only ever been provided by libssh2 1.0 or
- later */
# define HAVE_LIBSSH2_SFTP_SEEK64 1
#else
# undef HAVE_LIBSSH2_SFTP_SEEK64
@@ -161,7 +159,7 @@ struct ssh_conn {
#if defined(LIBSSH2_VERSION_NUM) && (LIBSSH2_VERSION_NUM >= 0x010206)
# define HAVE_LIBSSH2_SCP_SEND64 1
#else
-# undef HAVE_LIBSSH2_SFTP_SEEK64
+# undef HAVE_LIBSSH2_SCP_SEND64
#endif