mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 09:02:20 +00:00
compat: provide va_copy for old gcc versions.
Since we have this compat/va_copy.h header already we might just as well make use of it for more than one compiler. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
parent
8ccc58bb7d
commit
b74eead27b
@ -24,3 +24,6 @@
|
||||
#if !defined(va_copy) && defined(_MSC_VER)
|
||||
#define va_copy(dst, src) ((dst) = (src))
|
||||
#endif
|
||||
#if !defined(va_copy) && defined(__GNUC__) && __GNUC__ < 3
|
||||
#define va_copy(dst, src) __va_copy(dst, src)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user