Skip to content

Commit

Permalink
build(mingw): work around broken windows.foundation.h (#3291)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgutman authored Oct 12, 2024
1 parent ee8cd11 commit e074316
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/platform/windows/display_wgc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
#include "misc.h"
#include "src/logging.h"

// Gross hack to work around MINGW-packages#22160
#define ____FIReference_1_boolean_INTERFACE_DEFINED__

#include <windows.graphics.capture.interop.h>
#include <winrt/windows.foundation.h>
#include <winrt/windows.foundation.metadata.h>
Expand Down

0 comments on commit e074316

Please sign in to comment.