mirror of
https://github.com/samba-team/samba.git
synced 2025-12-03 04:23:50 +03:00
r4718: don't use the deprecated __va_copy() unless va_copy() is unavailable
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
48b52584ab
commit
603ef69be0
@@ -83,6 +83,8 @@
|
||||
|
||||
#ifndef VA_COPY
|
||||
#ifdef HAVE_VA_COPY
|
||||
#define VA_COPY(dest, src) va_copy(dest, src)
|
||||
#elif defined(HAVE___VA_COPY)
|
||||
#define VA_COPY(dest, src) __va_copy(dest, src)
|
||||
#else
|
||||
#define VA_COPY(dest, src) (dest) = (src)
|
||||
|
||||
Reference in New Issue
Block a user