Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HansKristian-Work/vkd3d-proton.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Kristian Arntzen <post@arntzen-software.no>2020-04-22 17:20:32 +0300
committerHans-Kristian Arntzen <post@arntzen-software.no>2020-04-22 17:23:06 +0300
commit54dcd6b84b251a4028cc10debe54d043deb286de (patch)
tree43f5e393c71f2b3aa5abdc0253bd0f5f206367d3
parentc3170731bf71bcaacfda969737d05c89a009f1ea (diff)
vkd3d: Enforce that WCHAR is actually a WCHAR.enforce-wchar-size
We will need to receive 2-byte WCHARs from apps. Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
-rw-r--r--include/vkd3d_windows.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/vkd3d_windows.h b/include/vkd3d_windows.h
index 20fa90a7..d157a3dd 100644
--- a/include/vkd3d_windows.h
+++ b/include/vkd3d_windows.h
@@ -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;