mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-19 12:48:30 +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> (cherry picked from commitf986741a91)
This commit is contained in:
parent
e9a284e8d0
commit
d4a64ad09b
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