diff options
author | George Kyriazis <[email protected]> | 2018-01-19 15:46:57 -0600 |
---|---|---|
committer | George Kyriazis <[email protected]> | 2018-01-19 16:48:41 -0600 |
commit | 079ae3c48dda02101f1776e03c0c401df6b21ff7 (patch) | |
tree | b14f4b61a714aefcb6363e07d958a417b71b10b8 /src/gallium/drivers | |
parent | 70f8eac603a75e6639994d5f4a727e94f870f964 (diff) |
swr/rast: Added missing define for Linux/gcc
+ ZeroMemory() macro definition for non win32-compilation in common/os.h
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/common/os.h | 1 |
1 files changed, 1 insertions, 0 deletions
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. |