[PATCH 1/3] debug.h: cleanup TRACE macros
Konstantin Kharlamov
hi-angel at yandex.ru
Sun Jan 27 03:34:59 CST 2019
Thanks! I resent the v2 of the patch
On 27.01.2019 06:35, Chip Davis wrote:
> 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