[PATCH] guiddef.h: REF* types do not depend on CINTERFACE.

Serge Gautherie winehq-git_serge_180711 at gautherie.fr
Fri Jul 13 09:30:50 CDT 2018


Addendum to 4626db2bb2a61cdceb00e0e346628062ee51aade.

Signed-off-by: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
---
 include/guiddef.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/guiddef.h b/include/guiddef.h
index 36c932c..2adde9c 100644
--- a/include/guiddef.h
+++ b/include/guiddef.h
@@ -130,12 +130,12 @@ typedef GUID FMTID,*LPFMTID;
 #define REFCLSID            const CLSID &
 #define REFIID              const IID &
 #define REFFMTID            const FMTID &
-#else /* !defined(__cplusplus) && !defined(CINTERFACE) */
+#else /* !defined(__cplusplus) */
 #define REFGUID             const GUID* __MIDL_CONST
 #define REFCLSID            const CLSID* __MIDL_CONST
 #define REFIID              const IID* __MIDL_CONST
 #define REFFMTID            const FMTID* __MIDL_CONST
-#endif /* !defined(__cplusplus) && !defined(CINTERFACE) */
+#endif /* !defined(__cplusplus) */
 
 #if defined(__cplusplus) && !defined(CINTERFACE)
 #define IsEqualGUID(rguid1, rguid2) (!memcmp(&(rguid1), &(rguid2), sizeof(GUID)))
-- 
2.10.0.windows.1




More information about the wine-devel mailing list