tests: Include vkd3d_common.h in vkd3d_test.h.

This commit is contained in:
Józef Kucia
2016-10-10 11:22:50 +02:00
parent eb05a388e1
commit 5f3d5a1263
4 changed files with 10 additions and 16 deletions

View File

@@ -28,6 +28,14 @@
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x)))
#ifdef __GNUC__
# define VKD3D_PRINTF_FUNC(fmt, args) __attribute__((format(printf, fmt, args)))
# define VKD3D_UNUSED __attribute__((unused))
#else
# define VKD3D_PRINTF_FUNC(fmt, args)
# define VKD3D_UNUSED
#endif /* __GNUC__ */
#ifndef _WIN32
# if HAVE_SYNC_ADD_AND_FETCH
static inline ULONG InterlockedIncrement(ULONG volatile *x)