From a2eb9995499a4591212cae2ba6ea265970062b57 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Mon, 16 Nov 2020 17:50:18 +0300 Subject: [PATCH] include: Guard MFVideoNormalizedRect definition in mfmediaengine.idl. Signed-off-by: Nikolay Sivov Signed-off-by: Alexandre Julliard --- 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 {