From 822cb16abe9b1446b218f58d7aa679da02efca7f Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Tue, 9 Jun 2015 14:45:58 -0700 Subject: [PATCH] vk: Define anv_printflike() macro --- src/vulkan/private.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vulkan/private.h b/src/vulkan/private.h index 645e96d75a9..8cffdf1f91b 100644 --- a/src/vulkan/private.h +++ b/src/vulkan/private.h @@ -46,6 +46,8 @@ extern "C" { #endif +#define anv_printflike(a, b) __attribute__((__format__(__printf__, a, b))) + static inline uint32_t ALIGN_U32(uint32_t v, uint32_t a) { -- 2.30.2