summaryrefslogtreecommitdiff
path: root/source4/lib/snprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/snprintf.c')
-rw-r--r--source4/lib/snprintf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/snprintf.c b/source4/lib/snprintf.c
index 3b04228c42..dbfb046c3d 100644
--- a/source4/lib/snprintf.c
+++ b/source4/lib/snprintf.c
@@ -83,6 +83,8 @@
#ifndef VA_COPY
#ifdef HAVE_VA_COPY
+#define VA_COPY(dest, src) va_copy(dest, src)
+#elif defined(HAVE___VA_COPY)
#define VA_COPY(dest, src) __va_copy(dest, src)
#else
#define VA_COPY(dest, src) (dest) = (src)