mirror of
https://github.com/curl/curl.git
synced 2026-08-26 03:53:32 +03:00
build: fix libssh2_scp_send64() availability
This commit is contained in:
parent
364fd2f1ad
commit
992ceae386
2 changed files with 2 additions and 4 deletions
|
|
@ -489,7 +489,7 @@ static int sshkeycallback(CURL *easy,
|
|||
* Earlier libssh2 versions didn't do SCP properly beyond 32bit sizes on 32bit
|
||||
* architectures so we check of the necessary function is present.
|
||||
*/
|
||||
#ifdef HAVE_LIBSSH2_SCP_SEND64
|
||||
#ifndef HAVE_LIBSSH2_SCP_SEND64
|
||||
#define SCP_SEND(a,b,c,d) libssh2_scp_send_ex(a, b, (int)(c), (size_t)d, 0, 0)
|
||||
#else
|
||||
#define SCP_SEND(a,b,c,d) libssh2_scp_send64(a, b, (int)(c), \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue