From 079ae3c48dda02101f1776e03c0c401df6b21ff7 Mon Sep 17 00:00:00 2001 From: George Kyriazis Date: Fri, 19 Jan 2018 15:46:57 -0600 Subject: [PATCH] swr/rast: Added missing define for Linux/gcc + ZeroMemory() macro definition for non win32-compilation in common/os.h Reviewed-by: Bruce Cherniak --- src/gallium/drivers/swr/rasterizer/common/os.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/swr/rasterizer/common/os.h b/src/gallium/drivers/swr/rasterizer/common/os.h index 358cb33b6e0..c7e87e28904 100644 --- a/src/gallium/drivers/swr/rasterizer/common/os.h +++ b/src/gallium/drivers/swr/rasterizer/common/os.h @@ -244,6 +244,7 @@ void AlignedFree(void* p) #define PRAGMA_WARNING_PUSH_DISABLE(...) #define PRAGMA_WARNING_POP() +#define ZeroMemory(dst, size) memset(dst, 0, size) #else #error Unsupported OS/system. -- 2.30.2