tests/shader_runner: Use WIDL_C_INLINE_WRAPPERS.

This commit is contained in:
Henri Verbeet 2024-04-18 20:05:16 +02:00 committed by Alexandre Julliard
parent 11db8c1719
commit 2b6012df7d
Notes: Alexandre Julliard 2024-04-25 00:14:58 +02:00
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/830
3 changed files with 8 additions and 0 deletions

View File

@ -45,6 +45,8 @@
#ifdef __MINGW32__
# define _HRESULT_DEFINED
typedef int HRESULT;
#else
# define WIDL_C_INLINE_WRAPPERS
#endif
#define COBJMACROS

View File

@ -18,6 +18,9 @@
#include "config.h"
#include <assert.h>
#ifndef __MINGW32__
#define WIDL_C_INLINE_WRAPPERS
#endif
#define COBJMACROS
#define CONST_VTABLE
#define VKD3D_TEST_NO_DEFS

View File

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