projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4389e85
)
util: fix no-op macro (bad number of arguments)
author
Eric Engestrom
<eric.engestrom@intel.com>
Tue, 23 Jul 2019 09:03:26 +0000
(10:03 +0100)
committer
Eric Engestrom
<eric.engestrom@intel.com>
Wed, 24 Jul 2019 08:13:58 +0000
(09:13 +0100)
Fixes: b8e077daee4d6369d774 ("util: no-op __builtin_types_compatible_p() for non-GCC compilers")
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/util/u_vector.h
patch
|
blob
|
history
diff --git
a/src/util/u_vector.h
b/src/util/u_vector.h
index 6807748e3b10b51d9c65a9a364d3e1e65f1befb7..95f35c59c7dd8726bc73f158ab98c1baab6eb023 100644
(file)
--- a/
src/util/u_vector.h
+++ b/
src/util/u_vector.h
@@
-81,7
+81,7
@@
u_vector_finish(struct u_vector *queue)
}
#ifndef __GNUC__
-#define __builtin_types_compatible_p(
x
) 1
+#define __builtin_types_compatible_p(
t1, t2
) 1
#endif
#define u_vector_foreach(elem, queue) \