Skip to content

Commit 40f8aa5

Browse files
Merge pull request #71 from darksylinc/mingw-fix
Fix build errors in mingw
2 parents ee17737 + d826778 commit 40f8aa5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/D3D12MemAlloc.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@
3333
#include <shared_mutex>
3434
#endif
3535

36+
#if !defined(_MSC_VER)
37+
#include <guiddef.h>
38+
// guiddef.h must be included first.
39+
#include <dxguids.h>
40+
#endif
41+
3642
////////////////////////////////////////////////////////////////////////////////
3743
////////////////////////////////////////////////////////////////////////////////
3844
//

0 commit comments

Comments
 (0)