mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests: Make sure that config.h is included before other headers.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
995e3a2359
commit
d100804e91
@@ -19,6 +19,7 @@
|
|||||||
#ifndef __VKD3D_TEST_H
|
#ifndef __VKD3D_TEST_H
|
||||||
#define __VKD3D_TEST_H
|
#define __VKD3D_TEST_H
|
||||||
|
|
||||||
|
#include "vkd3d_common.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
@@ -27,8 +28,6 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "vkd3d_common.h"
|
|
||||||
|
|
||||||
static void vkd3d_test_main(int argc, char **argv);
|
static void vkd3d_test_main(int argc, char **argv);
|
||||||
static const char *vkd3d_test_name;
|
static const char *vkd3d_test_name;
|
||||||
|
|
||||||
|
@@ -36,11 +36,6 @@
|
|||||||
typedef int HRESULT;
|
typedef int HRESULT;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <inttypes.h>
|
|
||||||
#include <limits.h>
|
|
||||||
#include <math.h>
|
|
||||||
#include <time.h>
|
|
||||||
|
|
||||||
#define COBJMACROS
|
#define COBJMACROS
|
||||||
#define INITGUID
|
#define INITGUID
|
||||||
#include "vkd3d_test.h"
|
#include "vkd3d_test.h"
|
||||||
@@ -48,6 +43,11 @@ typedef int HRESULT;
|
|||||||
#define WIDL_C_INLINE_WRAPPERS
|
#define WIDL_C_INLINE_WRAPPERS
|
||||||
#include "d3d12.h"
|
#include "d3d12.h"
|
||||||
|
|
||||||
|
#include <inttypes.h>
|
||||||
|
#include <limits.h>
|
||||||
|
#include <math.h>
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
# include "dxgi1_4.h"
|
# include "dxgi1_4.h"
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user