Commit caa3d2a3 authored by David Reid's avatar David Reid

Try fixing a compatibility issue with old GCC.

This is untested.
parent 4c2d1bb6
......@@ -13477,7 +13477,11 @@ Logging
**************************************************************************************************************************************************************/
#ifndef ma_va_copy
#if !defined(_MSC_VER) || _MSC_VER >= 1800
#define ma_va_copy(dst, src) va_copy((dst), (src))
#if (defined(__GNUC__) && __GNUC__ < 3)
#define ma_va_copy(dst, src) ((dst) = (src)) /* This is untested. Not sure if this is correct for old GCC. */
#else
#define ma_va_copy(dst, src) va_copy((dst), (src))
#endif
#else
#define ma_va_copy(dst, src) ((dst) = (src))
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment