mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 12:28:07 +02:00
util: fix no-op macro (bad number of arguments)
Fixes: b8e077daee ("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>
This commit is contained in:
parent
4389e85dc9
commit
f986741a91
1 changed files with 1 additions and 1 deletions
|
|
@ -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) \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue