mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
libssh: supress warnings without version check
Define unconditionally.
Follow-up from d21bd2190c
Closes #12523
This commit is contained in:
parent
907dce2dc0
commit
78a1814b33
@ -32,10 +32,7 @@
|
||||
#include <limits.h>
|
||||
|
||||
/* in 0.10.0 or later, ignore deprecated warnings */
|
||||
#include <libssh/libssh_version.h>
|
||||
#if (LIBSSH_VERSION_MINOR >= 10) || (LIBSSH_VERSION_MAJOR > 0)
|
||||
#define SSH_SUPPRESS_DEPRECATED
|
||||
#endif
|
||||
#include <libssh/libssh.h>
|
||||
#include <libssh/sftp.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user