diff options
author | Richard Sharpe <sharpe@samba.org> | 2003-10-24 17:58:30 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@samba.org> | 2003-10-24 17:58:30 +0000 |
commit | f3ea6329ba2aa7d5f86c9210ce6209e2d10cbe32 (patch) | |
tree | 10027732a99cf70e5dc1b90c27d2bac4f8dbcd66 | |
parent | 2f84a990bcfae7acaee0759359dd8867b24f600c (diff) | |
download | samba-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)
-rw-r--r-- | source3/include/includes.h | 4 |
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); |