swr/rast: Added missing define for Linux/gcc
authorGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 19 Jan 2018 21:46:57 +0000 (15:46 -0600)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 19 Jan 2018 22:48:41 +0000 (16:48 -0600)
+ ZeroMemory() macro definition for non win32-compilation in common/os.h

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/common/os.h

index 358cb33b6e03820d61db8dc9085009ec781aef87..c7e87e28904aacef41a14c8c1f82544c377dfa4e 100644 (file)
@@ -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.