From aebbd2f7dde05437e0621aeb94de31d1227645fa Mon Sep 17 00:00:00 2001 From: Tim Rowley Date: Thu, 5 May 2016 16:13:21 -0600 Subject: swr: [rasterizer common] guard definition of __cdecl/__stdcall Reviewed-by: Bruce Cherniak --- src/gallium/drivers/swr/rasterizer/common/os.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gallium') diff --git a/src/gallium/drivers/swr/rasterizer/common/os.h b/src/gallium/drivers/swr/rasterizer/common/os.h index 4076812e64a..1d685851219 100644 --- a/src/gallium/drivers/swr/rasterizer/common/os.h +++ b/src/gallium/drivers/swr/rasterizer/common/os.h @@ -93,8 +93,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 -- cgit v1.2.3