mirror of
https://github.com/curl/curl.git
synced 2026-08-25 09:43:32 +03:00
libssh: supress warnings without version check
Define unconditionally.
Follow-up from d21bd2190c
Closes #12523
This commit is contained in:
parent
907dce2dc0
commit
78a1814b33
1 changed files with 0 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue