Jacek Caban : debug.h: Use GNU style variadic macros on MSVC clang target.

Alexandre Julliard julliard at winehq.org
Thu Apr 23 14:54:32 CDT 2020


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Thu Apr 23 16:20:36 2020 +0200

debug.h: Use GNU style variadic macros on MSVC clang target.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/wine/debug.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/wine/debug.h b/include/wine/debug.h
index 2a63f4351d..912d61a90a 100644
--- a/include/wine/debug.h
+++ b/include/wine/debug.h
@@ -77,7 +77,7 @@ struct __wine_debug_channel
 #define __WINE_IS_DEBUG_ON(dbcl,dbch) \
   (__WINE_GET_DEBUGGING##dbcl(dbch) && (__wine_dbg_get_channel_flags(dbch) & (1 << __WINE_DBCL##dbcl)))
 
-#ifdef __GNUC__
+#if defined(__GNUC__) || defined(__clang__)
 
 #define __WINE_DPRINTF(dbcl,dbch) \
   do { if(__WINE_GET_DEBUGGING(dbcl,(dbch))) { \




More information about the wine-cvs mailing list