Zebediah Figura zfigura@codeweavers.com writes:
On 3/5/22 02:40, Alexandre Julliard wrote:
Zebediah Figura zfigura@codeweavers.com writes:
+#define __WINE_DPRINTF_ONCE(dbcl1,dbcl2,dbch) \
- do { \
- static BOOL __wine_next_time_level;\
- const enum __wine_debug_class __dbcl = \
- __wine_next_time_level ? __WINE_DBCL##dbcl2 : __WINE_DBCL##dbcl1;\
- (!__WINE_GET_DEBUGGING(dbcl1,(dbch)) || \
(wine_dbg_log(__dbcl,(dbch),__FILE__,"%d: ",__LINE__) == -1)) ? \
(void)0 : (void)wine_dbg_printf \
__wine_next_time_level = TRUE; } while (0)
As already mentioned, this cannot possibly work.
Sorry, that was a copy-paste error. I'm not sure where it was already mentioned, though?
When the patch was originally submitted. It looks like it hasn't changed since then.