projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f7325b
)
glsl: Define va_copy on MSVC.
author
José Fonseca
<jfonseca@vmware.com>
Mon, 31 Jan 2011 20:52:18 +0000
(20:52 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 31 Jan 2011 20:53:03 +0000
(20:53 +0000)
src/glsl/ralloc.c
patch
|
blob
|
history
diff --git
a/src/glsl/ralloc.c
b/src/glsl/ralloc.c
index
e92f433
..
fa2dd8b
100644
(file)
--- 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