[native] Add extra definitions needed for D3DCompiler

This commit is contained in:
Joshua Ashton 2022-08-22 01:18:37 +00:00 committed by Philip Rebohle
parent 91bdc8d06c
commit 2f3b3e64b4
1 changed files with 11 additions and 0 deletions

View File

@ -96,7 +96,18 @@ typedef HANDLE HWND;
typedef HANDLE HKEY;
typedef DWORD COLORREF;
#if INTPTR_MAX == INT64_MAX
typedef int64_t INT_PTR;
typedef uint64_t UINT_PTR;
#else
typedef int32_t INT_PTR;
typedef uint32_t UINT_PTR;
#endif
typedef INT_PTR* PINT_PTR;
typedef UINT_PTR* PUINT_PTR;
typedef char* LPSTR;
typedef wchar_t* LPWSTR;
typedef const char* LPCSTR;
typedef const wchar_t* LPCWSTR;