libssh2_sftp_seek2 was just renamed to libssh2_sftp_seek64 ...

This commit is contained in:
Daniel Stenberg
2008-12-22 13:21:23 +00:00
parent 7ffe62d901
commit eab8c0d754
2 changed files with 11 additions and 4 deletions

View File

@@ -435,8 +435,8 @@ static CURLcode ssh_getworkingpath(struct connectdata *conn,
* Earlier libssh2 versions didn't have the ability to seek to 64bit positions
* with 32bit size_t.
*/
#ifdef HAVE_LIBSSH2_SFTP_SEEK2
#define SFTP_SEEK(x,y) libssh2_sftp_seek2(x, (libssh2_uint64_t)y)
#ifdef HAVE_LIBSSH2_SFTP_SEEK64
#define SFTP_SEEK(x,y) libssh2_sftp_seek64(x, (libssh2_uint64_t)y)
#else
#define SFTP_SEEK(x,y) libssh2_sftp_seek(x, y)
#endif