aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/sftp.h
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-11-06 09:57:09 +0100
committerAndreas Schneider <mail@cynapses.org>2009-11-06 09:57:09 +0100
commitfa27956daf3ed287fbccaadb39dbeb9863b42902 (patch)
treeb4fb99acef77a286a9a23c4e5ff2dfaf697fe9b0 /include/libssh/sftp.h
parentab0d8a3828bfac12c343f29e90207cb8f6ba0a5d (diff)
downloadlibssh-fa27956daf3ed287fbccaadb39dbeb9863b42902.tar.gz
libssh-fa27956daf3ed287fbccaadb39dbeb9863b42902.tar.xz
libssh-fa27956daf3ed287fbccaadb39dbeb9863b42902.zip
Improve MSVC support. Better binary compatibility.
Patch by Patrick Spendrin from KDE.
Diffstat (limited to 'include/libssh/sftp.h')
-rw-r--r--include/libssh/sftp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/sftp.h b/include/libssh/sftp.h
index 403d0c5..14b2447 100644
--- a/include/libssh/sftp.h
+++ b/include/libssh/sftp.h
@@ -56,7 +56,7 @@ extern "C" {
#endif /* gid_t */
#ifdef _MSC_VER
#ifndef ssize_t
- typedef _W64 signed int ssize_t;
+ typedef _W64 SSIZE_T ssize_t;
#endif /* ssize_t */
#endif /* _MSC_VER */
#endif /* _WIN32 */