build(mingw): work around broken windows.foundation.h (#3291)

This commit is contained in:
Cameron Gutman 2024-10-11 21:33:33 -05:00 committed by GitHub
parent ee8cd11983
commit e0743169be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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>