From 74e3eb304f72ac826d48f54a69ab03816796a7bc Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Fri, 26 Jun 2015 15:06:09 -0700 Subject: [PATCH] vk: Define MIN(a, b) macro --- src/vulkan/private.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2