diff --git a/lib/diagnostics.h b/lib/diagnostics.h index a9be37cdc7..ab36e26257 100644 --- a/lib/diagnostics.h +++ b/lib/diagnostics.h @@ -150,7 +150,11 @@ extern void set_signal_exit_code(int); // #define BOINCASSERT(expr) wxASSERT(expr) +#ifdef _UNICODE +#define BOINCTRACE __noop +#else #define BOINCTRACE wxLogDebug +#endif #elif defined(_CONSOLE) && !(defined(__MINGW32__) || defined(__CYGWIN32__))