diff options
Diffstat (limited to 'include/libssh')
-rw-r--r-- | include/libssh/libsshpp.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libssh/libsshpp.hpp b/include/libssh/libsshpp.hpp index a353826a..de67de56 100644 --- a/include/libssh/libsshpp.hpp +++ b/include/libssh/libsshpp.hpp @@ -481,7 +481,11 @@ public: ssh_throw(err); return err; } +#ifdef SWIG + int read(char *dest, size_t count, bool is_stderr=false){ +#else int read(void *dest, size_t count, bool is_stderr=false){ +#endif int err; /* handle int overflow */ if(count > 0x7fffffff) |