diff --git a/tests/shader_runner.c b/tests/shader_runner.c index 29ac8749..8e6fdf9b 100644 --- a/tests/shader_runner.c +++ b/tests/shader_runner.c @@ -45,6 +45,8 @@ #ifdef __MINGW32__ # define _HRESULT_DEFINED typedef int HRESULT; +#else +# define WIDL_C_INLINE_WRAPPERS #endif #define COBJMACROS diff --git a/tests/shader_runner_d3d12.c b/tests/shader_runner_d3d12.c index 7729de7c..8119a66e 100644 --- a/tests/shader_runner_d3d12.c +++ b/tests/shader_runner_d3d12.c @@ -18,6 +18,9 @@ #include "config.h" #include +#ifndef __MINGW32__ +#define WIDL_C_INLINE_WRAPPERS +#endif #define COBJMACROS #define CONST_VTABLE #define VKD3D_TEST_NO_DEFS diff --git a/tests/shader_runner_gl.c b/tests/shader_runner_gl.c index fdc418ba..632ba5cc 100644 --- a/tests/shader_runner_gl.c +++ b/tests/shader_runner_gl.c @@ -20,6 +20,9 @@ #ifdef HAVE_OPENGL +#ifndef __MINGW32__ +#define WIDL_C_INLINE_WRAPPERS +#endif #define COBJMACROS #define VKD3D_TEST_NO_DEFS #define GL_GLEXT_PROTOTYPES