diff options
author | José Fonseca <[email protected]> | 2011-01-31 20:52:18 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2011-01-31 20:53:03 +0000 |
commit | 3ae7aa340305dbfa703abc9ec53ebad3ab6afa11 (patch) | |
tree | 17a14701d600f4229c417c67eb0addb9c539c29e /src/glsl/ralloc.c | |
parent | 0f7325b89038937bd428f7c89ed9859189a0ab0b (diff) |
glsl: Define va_copy on MSVC.
Diffstat (limited to 'src/glsl/ralloc.c')
-rw-r--r-- | src/glsl/ralloc.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 |