mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
(D3D12) Try to fix compilation for mingw toolchains with GCC 12.x
and beyond
This commit is contained in:
parent
18bebe0c73
commit
0fbb36c61a
@ -36,6 +36,7 @@
|
||||
#include <dxgi.h>
|
||||
|
||||
#ifdef __MINGW32__
|
||||
#if __GNUC__ < 12
|
||||
/* clang-format off */
|
||||
#ifdef __cplusplus
|
||||
#define DEFINE_GUIDW(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) EXTERN_C const GUID DECLSPEC_SELECTANY name = { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
|
||||
@ -73,6 +74,7 @@ DEFINE_GUIDW(IID_ID3D12DebugCommandList, 0x09e0bf36, 0x54ac, 0x484f, 0x88, 0x47,
|
||||
#endif
|
||||
/* clang-format on */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_DYNAMIC) && !defined(__WINRT__)
|
||||
static dylib_t d3d12_dll;
|
||||
|
Loading…
x
Reference in New Issue
Block a user