mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-08 01:20:53 +00:00
compat: va_copy on Win32 systems
This commit is contained in:
parent
76873c0905
commit
1adf8c6a9c
@ -58,4 +58,12 @@
|
|||||||
# include <stdbool.h>
|
# include <stdbool.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef va_copy
|
||||||
|
# ifdef __va_copy
|
||||||
|
# define va_copy(dst, src) __va_copy(dst, src)
|
||||||
|
# else
|
||||||
|
# define va_copy(dst, src) ((dst) = (src))
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* INCLUDE_compat_h__ */
|
#endif /* INCLUDE_compat_h__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user