From: George Kyriazis Date: Fri, 19 Jan 2018 21:46:57 +0000 (-0600) Subject: swr/rast: Added missing define for Linux/gcc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=079ae3c48dda02101f1776e03c0c401df6b21ff7;p=mesa.git swr/rast: Added missing define for Linux/gcc + ZeroMemory() macro definition for non win32-compilation in common/os.h Reviewed-by: Bruce Cherniak --- 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.