25 Oct
2021
25 Oct
'21
9:29 p.m.
David Kahurani <k.kahurani(a)gmail.com> writes:
@@ -134,6 +152,16 @@ struct __wine_debug_channel
#else /* !__GNUC__ && !__SUNPRO_C */
+#define __WINE_DPRINTF_ONCE(dbcl,dbc2,dbch) \ + do { \ + static BOOL __wine_next_time_level;\ + const enum __wine_debug_class __dbcl = \ + __wine_next_time_level ? __WINE_DBCL##dbc2 : __WINE_DBCL##dbc1;\ + (!__WINE_GET_DEBUGGING(dbcl,(dbch)) || \ + (wine_dbg_log(__dbcl,(dbch),__FILE__,"%d: ",__LINE__) == -1)) ? \ + (void)0 : (void)wine_dbg_printf \ + __wine_next_time_level = TRUE; } while (0)
This cannot possibly work. -- Alexandre Julliard julliard(a)winehq.org