summaryrefslogtreecommitdiff
path: root/lib/snprintf.c
diff options
context:
space:
mode:
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