[Mesa-dev] [PATCH 09/18] swr: [rasterizer common] warning cleanup
Tim Rowley
timothy.o.rowley at intel.com
Tue May 17 01:10:48 UTC 2016
---
src/gallium/drivers/swr/rasterizer/common/os.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/gallium/drivers/swr/rasterizer/common/os.h b/src/gallium/drivers/swr/rasterizer/common/os.h
index 675fe42..df7daa6 100644
--- a/src/gallium/drivers/swr/rasterizer/common/os.h
+++ b/src/gallium/drivers/swr/rasterizer/common/os.h
@@ -92,8 +92,12 @@ typedef unsigned int DWORD;
#endif
#define DEBUGBREAK asm ("int $3")
#if !defined(__CYGWIN__)
+#ifndef __cdecl
#define __cdecl
+#endif
+#ifndef __stdcall
#define __stdcall
+#endif
#define __declspec(X)
#endif
--
1.9.1
More information about the mesa-dev
mailing list