summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2003-10-24 16:08:03 +0000
committerRichard Sharpe <sharpe@samba.org>2003-10-24 16:08:03 +0000
commitd0833280da45109f881f8f895063b5a6a9372627 (patch)
treef16145521f075ee94a48a4511a49fb8fbaf11c26 /source3/lib
parentdebbecb23cf45ef711726ccd18cfc09b64a07e9b (diff)
downloadsamba-d0833280da45109f881f8f895063b5a6a9372627.tar.gz
samba-d0833280da45109f881f8f895063b5a6a9372627.tar.bz2
samba-d0833280da45109f881f8f895063b5a6a9372627.zip
Some spelling mistakes in aclocal.m4 and the va_copy fixups in configure.in
and lib/snprintf. Check for va_copy first, and then look for __va_copy. (This used to be commit 8b592740b6294555c461d7eee003e2bd5f4352a4)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/snprintf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/snprintf.c b/source3/lib/snprintf.c
index a2f9f592db..5b0cfa1ab3 100644
--- a/source3/lib/snprintf.c
+++ b/source3/lib/snprintf.c
@@ -147,10 +147,14 @@
#ifndef VA_COPY
#ifdef HAVE_VA_COPY
+#define VA_COPY(dest, src) va_copy(dest, src)
+#else
+#ifdef HAVE___VA_COPY
#define VA_COPY(dest, src) __va_copy(dest, src)
#else
#define VA_COPY(dest, src) (dest) = (src)
#endif
+#endif
/*
* dopr(): poor man's version of doprintf