[PATCH 1/3] debug.h: cleanup TRACE macros
Chip Davis
cdavis at codeweavers.com
Sat Jan 26 21:35:16 CST 2019
January 26, 2019 4:49 PM, "Konstantin Kharlamov" <Hi-Angel at yandex.ru> wrote:
> diff --git a/include/wine/debug.h b/include/wine/debug.h
> index 07ac88d264..069e754dfe 100644
> --- a/include/wine/debug.h
> +++ b/include/wine/debug.h
> @@ -59,8 +59,12 @@ struct __wine_debug_channel
>
> #ifndef WINE_NO_TRACE_MSGS
> # define __WINE_GET_DEBUGGING_TRACE(dbch) ((dbch)->flags & (1 << __WINE_DBCL_TRACE))
> +# define WINE_TRACE __WINE_DPRINTF(_TRACE,__wine_dbch___default)
> +# define WINE_TRACE_(ch) __WINE_DPRINTF(_TRACE,&__wine_dbch_##ch)
> #else
> # define __WINE_GET_DEBUGGING_TRACE(dbch) 0
> +# define WINE_TRACE(args...) do { } while(0)
Missed one.
Chip
More information about the wine-devel
mailing list