[c-host] try to be more compatible with mingw headers

This commit is contained in:
Geoffrey McRae 2019-05-22 19:46:18 +10:00
parent 732ce05866
commit 773dd7773b
2 changed files with 5 additions and 2 deletions

View File

@ -1 +1 @@
a12-209-g108c7d3aaa+1 a12-210-g732ce05866+1

View File

@ -26,8 +26,11 @@ HRESULT __stdcall CreateDXGIFactory1(REFIID riid, void **factory);
#define D3D_FEATURE_LEVEL_12_0 0xc000 #define D3D_FEATURE_LEVEL_12_0 0xc000
#define D3D_FEATURE_LEVEL_12_1 0xc100 #define D3D_FEATURE_LEVEL_12_1 0xc100
#ifndef __dxgicommon_h__ #ifndef DXGI_ERROR_ACCESS_LOST
#define DXGI_ERROR_ACCESS_LOST _HRESULT_TYPEDEF_(0x887A0026L) #define DXGI_ERROR_ACCESS_LOST _HRESULT_TYPEDEF_(0x887A0026L)
#endif
#ifndef DXGI_ERROR_WAIT_TIMEOUT
#define DXGI_ERROR_WAIT_TIMEOUT _HRESULT_TYPEDEF_(0x887A0027L) #define DXGI_ERROR_WAIT_TIMEOUT _HRESULT_TYPEDEF_(0x887A0027L)
#endif #endif