diff options
Diffstat (limited to 'compat')
-rw-r--r-- | compat/va_copy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/va_copy.h b/compat/va_copy.h index f894771..3cb5ebe 100644 --- a/compat/va_copy.h +++ b/compat/va_copy.h @@ -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 |