diff --git a/src/ctx.c b/src/ctx.c index 56e1f34..9aa51ac 100644 --- a/src/ctx.c +++ b/src/ctx.c @@ -51,7 +51,7 @@ #include "util.h" /* Workaround for visual studio without va_copy support. */ -#if defined(_MSC_VER) && _MSC_VER < 1800 +#if defined(_MSC_VER) && _MSC_VER < 1800 || defined(__HAIKU__) #define va_copy(d,s) ((d) = (s)) #endif