From 3ae7aa340305dbfa703abc9ec53ebad3ab6afa11 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Mon, 31 Jan 2011 20:52:18 +0000 Subject: glsl: Define va_copy on MSVC. --- src/glsl/ralloc.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/glsl/ralloc.c b/src/glsl/ralloc.c index e92f433e336..fa2dd8b01e6 100644 --- a/src/glsl/ralloc.c +++ b/src/glsl/ralloc.c @@ -38,6 +38,14 @@ #define unlikely(x) !!(x) #endif +#ifndef va_copy +#ifdef __va_copy +#define va_copy(dest, src) __va_copy((dest), (src)) +#else +#define va_copy(dest, src) (dest) = (src) +#endif +#endif + #define CANARY 0x5A1106 struct ralloc_header -- cgit v1.2.3