aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/priv.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2015-06-24 16:22:46 +0200
committerAndreas Schneider <asn@cryptomilk.org>2015-06-24 16:24:12 +0200
commitcbf5cf4ac3fa30bbfd00c9943649b0f524298d9f (patch)
tree46a7ab5032b395221d6d2a9c82b0c460217c6619 /include/libssh/priv.h
parenta3f3f9cb76d3bc8ab35c5bc15913676463a322be (diff)
downloadlibssh-cbf5cf4ac3fa30bbfd00c9943649b0f524298d9f.tar.gz
libssh-cbf5cf4ac3fa30bbfd00c9943649b0f524298d9f.tar.xz
libssh-cbf5cf4ac3fa30bbfd00c9943649b0f524298d9f.zip
include: Add support for older MSVC versions
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 30a7229fc5f147c9f39abfa9272546773f58678c)
Diffstat (limited to 'include/libssh/priv.h')
-rw-r--r--include/libssh/priv.h4
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)