Nikolay Sivov : include: Guard MFVideoNormalizedRect definition in mfmediaengine.idl.

Alexandre Julliard julliard at winehq.org
Mon Nov 16 15:28:57 CST 2020


Module: wine
Branch: master
Commit: a2eb9995499a4591212cae2ba6ea265970062b57
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=a2eb9995499a4591212cae2ba6ea265970062b57

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Nov 16 17:50:18 2020 +0300

include: Guard MFVideoNormalizedRect definition in mfmediaengine.idl.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/mfmediaengine.idl | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/mfmediaengine.idl b/include/mfmediaengine.idl
index b914cb3600b..c00e364116e 100644
--- a/include/mfmediaengine.idl
+++ b/include/mfmediaengine.idl
@@ -76,6 +76,8 @@ typedef enum MF_MEDIA_ENGINE_CANPLAY
     MF_MEDIA_ENGINE_CANPLAY_PROBABLY,
 } MF_MEDIA_ENGINE_CANPLAY;
 
+cpp_quote("#ifndef _MFVideoNormalizedRect_")
+cpp_quote("#define _MFVideoNormalizedRect_")
 typedef struct MFVideoNormalizedRect
 {
     float left;
@@ -83,6 +85,7 @@ typedef struct MFVideoNormalizedRect
     float right;
     float bottom;
 } MFVideoNormalizedRect;
+cpp_quote("#endif")
 
 typedef enum MF_MEDIA_ENGINE_CREATEFLAGS
 {




More information about the wine-cvs mailing list