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.
This commit is contained in:
Henri Verbeet 2016-09-28 11:16:35 +02:00
parent 98a7ce8275
commit baa3f71009

View File

@ -43,9 +43,9 @@ typedef int HRESULT;
#define COBJMACROS #define COBJMACROS
#define INITGUID #define INITGUID
#define WIDL_C_INLINE_WRAPPERS
#include "vkd3d_test.h" #include "vkd3d_test.h"
#include "vkd3d_windows.h" #include "vkd3d_windows.h"
#define WIDL_C_INLINE_WRAPPERS
#include "d3d12.h" #include "d3d12.h"
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(*x)) #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*x))