diff options
Diffstat (limited to 'sys/d3dvideosink/directx/directx9/dx9_d3d.c')
-rw-r--r-- | sys/d3dvideosink/directx/directx9/dx9_d3d.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/d3dvideosink/directx/directx9/dx9_d3d.c b/sys/d3dvideosink/directx/directx9/dx9_d3d.c index 5b50aba0b..81e3ece29 100644 --- a/sys/d3dvideosink/directx/directx9/dx9_d3d.c +++ b/sys/d3dvideosink/directx/directx9/dx9_d3d.c @@ -17,6 +17,22 @@ * Boston, MA 02111-1307, USA. */ +#if defined(__MINGW32__) +# ifndef _OBJC_NO_COM_ +# if defined(__cplusplus) && !defined(CINTERFACE) +# if defined(__GNUC__) && __GNUC__ < 3 && !defined(NOCOMATTRIBUTE) +# define DECLARE_INTERFACE_IID_(i,b,d) _COM_interface __attribute__((com_interface)) i : public b +# else +# define DECLARE_INTERFACE_IID_(i,b,d) _COM_interface i : public b +# endif +# else +# define DECLARE_INTERFACE_IID_(i,b,d) DECLARE_INTERFACE(i) +# endif +# endif +# if !defined(__MSABI_LONG) +# define __MSABI_LONG(x) x ## l +# endif +#endif #include <d3d9.h> #include <d3dx9tex.h> |