From: Eric Engestrom Date: Tue, 23 Jul 2019 09:03:26 +0000 (+0100) Subject: util: fix no-op macro (bad number of arguments) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f986741a91b80091b510752b707a82f5b19440ee;p=mesa.git util: fix no-op macro (bad number of arguments) Fixes: b8e077daee4d6369d774 ("util: no-op __builtin_types_compatible_p() for non-GCC compilers") Signed-off-by: Eric Engestrom Reviewed-by: Matt Turner --- diff --git a/src/util/u_vector.h b/src/util/u_vector.h index 6807748e3b1..95f35c59c7d 100644 --- 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) \