Apply erans patch to allow building with MinGW

This commit is contained in:
New Pagodi
2018-01-25 16:08:33 -06:00
parent b936bfe85e
commit df1456e4e2
2 changed files with 10 additions and 0 deletions

View File

@@ -40,6 +40,12 @@
#include <dwrite.h>
#include <wincodec.h>
#ifdef __MINGW64_TOOLCHAIN__
#ifndef DRWITE_E_NOFONT
#define DWRITE_E_NOFONT _HRESULT_TYPEDEF_(0x88985002)
#endif
#endif
#if wxD2D_DEVICE_CONTEXT_SUPPORTED
#include <D3D11.h>
#include <D2d1_1.h>