mirror of
https://github.com/curl/curl.git
synced 2026-07-24 18:57:18 +03:00
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.
This commit is contained in:
parent
18e1a3022d
commit
9dbbba9976
4 changed files with 22 additions and 22 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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue