Merge pull request #356 from Zapeth/master

Use workaround for GCC incompatibilities with MSVC aggregate returns
This commit is contained in:
StapleButter 2019-01-06 12:27:16 +01:00 committed by GitHub
commit dbfb67fe8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,10 @@
#include <uxtheme.h> #include <uxtheme.h>
#include <windowsx.h> #include <windowsx.h>
#include <shobjidl.h> #include <shobjidl.h>
// workaround for MinGW builds -> https://stackoverflow.com/questions/27888109/rendertarget-getsize-not-working
#ifdef __MINGW32__
#define WIDL_EXPLICIT_AGGREGATE_RETURNS
#endif
#include <d2d1.h> #include <d2d1.h>
#include <d2d1helper.h> #include <d2d1helper.h>
#include <dwrite.h> #include <dwrite.h>