swr: [rasterizer common] guard definition of __cdecl/__stdcall

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
Tim Rowley 2016-05-05 16:13:21 -06:00
parent 82e335ce67
commit aebbd2f7dd

View file

@ -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