aboutsummaryrefslogtreecommitdiff
path: root/lib/ssh.h
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2009-05-19 23:21:25 +0000
committerGunter Knauf <gk@gknw.de>2009-05-19 23:21:25 +0000
commit1bb68cbcfa625c06baf7ca1eb4cbcc85ce3a0e13 (patch)
tree0d5dcf7853388447b8cdaf9ab89b8ff8dbdae7f7 /lib/ssh.h
parentde7a14003c0ef455e074cc9629bf9faae3474a7e (diff)
changed ssh.c to use HAVE_LIBSSH2_SESSION_BLOCK_DIRECTION define provided by libssh2.h; removed related define block from ssh.h.
Diffstat (limited to 'lib/ssh.h')
-rw-r--r--lib/ssh.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/ssh.h b/lib/ssh.h
index 38f91a151..a20e19905 100644
--- a/lib/ssh.h
+++ b/lib/ssh.h
@@ -29,16 +29,6 @@
# error "SCP/SFTP protocols require libssh2 0.16 or later"
#endif
-#if defined(LIBSSH2_VERSION_NUM) && (LIBSSH2_VERSION_NUM >= 0x001300)
-/* libssh2 0.19 was the planned release version for a while before it was
- decided to instead become 1.0. Thus >= 0x001300 should still work fine
- for snapshots done during the 0.19 days as well as things released once
- it was bumped to 1.0 */
-# define HAVE_LIBSSH2_SESSION_BLOCK_DIRECTIONS 1
-#else
-# undef HAVE_LIBSSH2_SESSION_BLOCK_DIRECTIONS
-#endif
-
#if defined(LIBSSH2_VERSION_NUM) && (LIBSSH2_VERSION_NUM >= 0x010000)
/* libssh2_sftp_seek64() has only ever been provided by libssh2 1.0 or
later */