summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2003-10-24 17:58:30 +0000
committerRichard Sharpe <sharpe@samba.org>2003-10-24 17:58:30 +0000
commitf3ea6329ba2aa7d5f86c9210ce6209e2d10cbe32 (patch)
tree10027732a99cf70e5dc1b90c27d2bac4f8dbcd66 /source3/include
parent2f84a990bcfae7acaee0759359dd8867b24f600c (diff)
downloadsamba-f3ea6329ba2aa7d5f86c9210ce6209e2d10cbe32.tar.gz
samba-f3ea6329ba2aa7d5f86c9210ce6209e2d10cbe32.tar.bz2
samba-f3ea6329ba2aa7d5f86c9210ce6209e2d10cbe32.zip
Fix one other place VA_COPY is defined ... should fix NetBSD build.
(This used to be commit fb69597629bad305f227b5bab62e0f170d3c164c)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 2a82098fa9..74540f81ba 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -1259,10 +1259,14 @@ int smb_xvasprintf(char **ptr, const char *format, va_list ap) PRINTF_ATTRIBUTE(
/* we need to use __va_copy() on some platforms */
#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
#ifndef HAVE_TIMEGM
time_t timegm(struct tm *tm);