From: Chad Versace Date: Fri, 26 Jun 2015 22:06:09 +0000 (-0700) Subject: vk: Define MIN(a, b) macro X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74e3eb304f72ac826d48f54a69ab03816796a7bc;p=mesa.git vk: Define MIN(a, b) macro --- diff --git a/src/vulkan/private.h b/src/vulkan/private.h index e9943062807..65986155317 100644 --- a/src/vulkan/private.h +++ b/src/vulkan/private.h @@ -58,6 +58,7 @@ extern "C" { #define anv_noreturn __attribute__((__noreturn__)) #define anv_printflike(a, b) __attribute__((__format__(__printf__, a, b))) +#define MIN(a, b) ((a) < (b) ? (a) : (b)) #define MAX(a, b) ((a) > (b) ? (a) : (b)) static inline uint32_t