From: Eric Anholt Date: Mon, 14 Dec 2015 20:25:28 +0000 (-0800) Subject: vc4: Fix min() wrapper definition for the simulator's kernel code. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da92f16c500642879221b201a8292080236b4251;p=mesa.git vc4: Fix min() wrapper definition for the simulator's kernel code. --- diff --git a/src/gallium/drivers/vc4/vc4_simulator_validate.h b/src/gallium/drivers/vc4/vc4_simulator_validate.h index 40d3ada6ca2..e1f8b5a305e 100644 --- a/src/gallium/drivers/vc4/vc4_simulator_validate.h +++ b/src/gallium/drivers/vc4/vc4_simulator_validate.h @@ -45,7 +45,7 @@ struct vc4_exec_info; #define roundup(x, y) align(x, y) #define round_up(x, y) align(x, y) #define max(x, y) MAX2(x, y) -#define min(x, y) MiN2(x, y) +#define min(x, y) MIN2(x, y) #define BUG_ON(condition) assert(!(condition)) static inline int