summaryrefslogtreecommitdiffstats
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:23:13 +0200
commit30a7229fc5f147c9f39abfa9272546773f58678c (patch)
tree803089ffedbf3ddab4de7fd5894995a4ad4b17ef
parent1d69e073af6a460eb00cc68869cde9caf7031856 (diff)
downloadlibssh-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.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)