Fabian Maurer : dxva2api.idl: Don't redefine REFERENCE_TIME if it' s already defined.
Alexandre Julliard
julliard at winehq.org
Mon Oct 2 15:46:22 CDT 2017
Module: wine
Branch: master
Commit: 84d2d7818bc84ea90303d8b047f3e4e833e6e316
URL: http://source.winehq.org/git/wine.git/?a=commit;h=84d2d7818bc84ea90303d8b047f3e4e833e6e316
Author: Fabian Maurer <dark.shadow4 at web.de>
Date: Sun Oct 1 21:10:16 2017 +0200
dxva2api.idl: Don't redefine REFERENCE_TIME if it's already defined.
Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/dxva2api.idl | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/dxva2api.idl b/include/dxva2api.idl
index 8739b82..8dd1d96 100644
--- a/include/dxva2api.idl
+++ b/include/dxva2api.idl
@@ -86,7 +86,10 @@ cpp_quote("#define DXVA2_ModeVC1_VLD DXVA2_ModeVC1_D")
/* Encryption */
cpp_quote("DEFINE_GUID(DXVA_NoEncrypt, 0x1b81bed0, 0xa0c7,0x11d3, 0xb9,0x84,0x00,0xc0,0x4f,0x2e,0x73,0xc5);")
+cpp_quote("#ifndef REFERENCE_TIME_DEFINED")
+cpp_quote("#define REFERENCE_TIME_DEFINED")
typedef LONGLONG REFERENCE_TIME;
+cpp_quote("#endif")
enum
{
More information about the wine-cvs
mailing list