summaryrefslogtreecommitdiffstats
path: root/src/qtmultimedia-1-fixes.patch
blob: d16c1c8a0640f5195d6bc28f6feb604259941513 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
This file is part of MXE. See LICENSE.md for licensing information.

Contains ad hoc patches for cross building.

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Mon, 17 Sep 2018 12:38:35 +0200
Subject: [PATCH 1/1] mingw-w64 6 fix


diff --git a/src/plugins/common/evr/evrdefs.h b/src/plugins/common/evr/evrdefs.h
index 1111111..2222222 100644
--- a/src/plugins/common/evr/evrdefs.h
+++ b/src/plugins/common/evr/evrdefs.h
@@ -83,6 +83,7 @@ HRESULT WINAPI Direct3DCreate9Ex(UINT SDKVersion, IDirect3D9Ex**);
 #define MF_E_TRANSFORM_NEED_MORE_INPUT ((HRESULT)0xC00D6D72L)
 #endif
 
+#if __MINGW64_VERSION_MAJOR < 6
 #ifdef __GNUC__
 typedef struct MFVideoNormalizedRect {
     float left;
@@ -91,6 +92,7 @@ typedef struct MFVideoNormalizedRect {
     float bottom;
 } MFVideoNormalizedRect;
 #endif
+#endif
 
 #include <initguid.h>