From baa3f710094c7a01523dbe5dad95d2e623c7649f Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 28 Sep 2016 11:16:35 +0200 Subject: [PATCH] tests: Fix crosstests. The inline wrappers for AsyncIMultiQI in mingw-w64 (mingw-w64-common 3.2.0-2) are broken and fail to compile. Define WIDL_C_INLINE_WRAPPERS after including vkd3d_windows.h to avoid them. --- tests/d3d12.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/d3d12.c b/tests/d3d12.c index dbdd7d93..33420933 100644 --- a/tests/d3d12.c +++ b/tests/d3d12.c @@ -43,9 +43,9 @@ typedef int HRESULT; #define COBJMACROS #define INITGUID -#define WIDL_C_INLINE_WRAPPERS #include "vkd3d_test.h" #include "vkd3d_windows.h" +#define WIDL_C_INLINE_WRAPPERS #include "d3d12.h" #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*x))