diff options
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 |