diff options
author | Tim Rowley <[email protected]> | 2016-05-05 16:13:21 -0600 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2016-05-19 16:26:24 -0500 |
commit | aebbd2f7dde05437e0621aeb94de31d1227645fa (patch) | |
tree | a49db8c12c356364abeb8d549f7609686101df89 /src/gallium | |
parent | 82e335ce675a28ecb0959cbf26d0e10fb4512cb7 (diff) |
swr: [rasterizer common] guard definition of __cdecl/__stdcall
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/common/os.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |