diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2015-06-24 16:22:46 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2015-06-24 16:23:13 +0200 |
commit | 30a7229fc5f147c9f39abfa9272546773f58678c (patch) | |
tree | 803089ffedbf3ddab4de7fd5894995a4ad4b17ef | |
parent | 1d69e073af6a460eb00cc68869cde9caf7031856 (diff) | |
download | libssh-30a7229fc5f147c9f39abfa9272546773f58678c.tar.gz libssh-30a7229fc5f147c9f39abfa9272546773f58678c.tar.xz libssh-30a7229fc5f147c9f39abfa9272546773f58678c.zip |
include: Add support for older MSVC versions
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r-- | include/libssh/priv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 360546c8..3fac523a 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -65,6 +65,10 @@ # undef inline # define inline __inline +# ifndef va_copy +# define va_copy(dest, src) (dest = src) +# endif + # define strcasecmp _stricmp # define strncasecmp _strnicmp # if ! defined(HAVE_ISBLANK) |