diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-11-09 15:42:12 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-11-09 15:43:27 +0100 |
commit | 9dbbba997608f7c3c5de1c627c77c8cd2aa85b73 (patch) | |
tree | 80e7f46f1a83acbf4d1427c573ffd099af11b564 /lib/ssh.c | |
parent | 18e1a3022deebfa91ef022f09de3396d595f50b2 (diff) | |
download | curl-9dbbba997608f7c3c5de1c627c77c8cd2aa85b73.tar.gz |
libssh2: detect features based on version, not configure checks
... so that non-configure builds get the correct functions too based on
the libssh2 version used.
Diffstat (limited to 'lib/ssh.c')
-rw-r--r-- | lib/ssh.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -99,13 +99,6 @@ # endif #endif -/* Feature detection based on version numbers to better work with - non-configure platforms */ -#if LIBSSH2_VERSION_NUM >= 0x010206 -/* libssh2_knownhost_checkp was added in 1.2.6 */ -#define HAVE_LIBSSH2_KNOWNHOST_CHECKP -#endif - #ifndef PATH_MAX #define PATH_MAX 1024 /* just an extra precaution since there are systems that have their definition hidden well */ |