Sebastian Lackner : include: Avoid duplicate definition of REFERENCE_TIME.

Alexandre Julliard julliard at winehq.org
Mon Jan 16 15:48:49 CST 2017


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

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Mon Jan 16 15:00:12 2017 +0100

include: Avoid duplicate definition of REFERENCE_TIME.

Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/dmdls.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/dmdls.h b/include/dmdls.h
index b40ef88..ea7dcf0 100644
--- a/include/dmdls.h
+++ b/include/dmdls.h
@@ -30,7 +30,10 @@ typedef LONG PCENT;
 typedef LONG PERCENT;
 typedef LONG TCENT;
 
+#ifndef REFERENCE_TIME_DEFINED
+#define REFERENCE_TIME_DEFINED
 typedef LONGLONG REFERENCE_TIME, *LPREFERENCE_TIME;
+#endif
 
 /*****************************************************************************
  * FOURCC definition




More information about the wine-cvs mailing list