mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
Fix one other place VA_COPY is defined ... should fix NetBSD build.
(This used to be commit fb69597629bad305f227b5bab62e0f170d3c164c)
This commit is contained in:
parent
2f84a990bc
commit
f3ea6329ba
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user