vkd3d: Enforce that WCHAR is actually a WCHAR.

We will need to receive 2-byte WCHARs from apps.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
This commit is contained in:
Hans-Kristian Arntzen 2020-04-22 16:20:32 +02:00
parent c3170731bf
commit 4595cacc79
1 changed files with 0 additions and 8 deletions

View File

@ -33,10 +33,6 @@
#if !defined(_WIN32) || defined(__WIDL__)
# if !defined(__WIDL__) && !defined(VKD3D_WIN32_WCHAR)
# include <wchar.h>
# endif
# ifdef __GNUC__
# define DECLSPEC_ALIGN(x) __attribute__((aligned(x)))
# endif
@ -91,11 +87,7 @@ typedef unsigned long ULONG_PTR;
typedef ULONG_PTR SIZE_T;
# ifdef VKD3D_WIN32_WCHAR
typedef unsigned short WCHAR;
# else
typedef wchar_t WCHAR;
# endif /* VKD3D_WIN32_WCHAR */
typedef void *HANDLE;
typedef const WCHAR* LPCWSTR;