summaryrefslogtreecommitdiff
path: root/lib/snprintf.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-10-11 20:21:03 +0000
committerWayne Davison <wayned@samba.org>2005-10-11 20:21:03 +0000
commit92f0b9d6ab62a3425d6d8cf965dbf7fa08adda38 (patch)
tree46d92b8205316603a12d6f34918c82526af4a1c6 /lib/snprintf.c
parent2c8c8bbaad7673ec9ad4dd6a6158348cbca4b5b6 (diff)
downloadrsync-92f0b9d6ab62a3425d6d8cf965dbf7fa08adda38.tar.gz
rsync-92f0b9d6ab62a3425d6d8cf965dbf7fa08adda38.tar.bz2
rsync-92f0b9d6ab62a3425d6d8cf965dbf7fa08adda38.zip
If va_copy is defined, use it when defining VA_COPY.
Diffstat (limited to 'lib/snprintf.c')
-rw-r--r--lib/snprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/snprintf.c b/lib/snprintf.c
index 97ede451..d2072fb3 100644
--- a/lib/snprintf.c
+++ b/lib/snprintf.c
@@ -146,7 +146,7 @@
#endif
#ifndef VA_COPY
-#ifdef HAVE_VA_COPY
+#if defined HAVE_VA_COPY || defined va_copy
#define VA_COPY(dest, src) va_copy(dest, src)
#else
#ifdef HAVE___VA_COPY