ssh: define USE_SSH if SSH is enabled (any backend)

Closes #3846
This commit is contained in:
Daniel Stenberg 2019-05-05 23:42:29 +02:00
parent c23b8e827c
commit d37b0936d1
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
6 changed files with 12 additions and 8 deletions

View file

@ -686,6 +686,10 @@ int netware_init(void);
#error "No longer supported. Set CURLOPT_CAINFO at runtime instead."
#endif
#if defined(USE_LIBSSH2) || defined(USE_LIBSSH) || defined(USE_WOLFSSH)
#define USE_SSH
#endif
/*
* Provide a mechanism to silence picky compilers, such as gcc 4.6+.
* Parameters should of course normally not be unused, but for example when