Module: Mesa Branch: master Commit: aebbd2f7dde05437e0621aeb94de31d1227645fa URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aebbd2f7dde05437e0621aeb94de31d1227645fa
Author: Tim Rowley <timothy.o.row...@intel.com> Date: Thu May 5 16:13:21 2016 -0600 swr: [rasterizer common] guard definition of __cdecl/__stdcall Reviewed-by: Bruce Cherniak <bruce.chern...@intel.com> --- 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 4076812..1d68585 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 _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit