1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Fix one other place VA_COPY is defined ... should fix NetBSD build.

This commit is contained in:
Richard Sharpe 0001-01-01 00:00:00 +00:00
parent cf9311044c
commit fb69597629

View File

@ -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);