st/oxr: Send logging to OutputDebugStringA even if we aren't printing to stderr

This was intended all along, it's worse on Windows since we
don't by default print to stderr, so we never printed there.
This commit is contained in:
Jakob Bornecrantz 2023-06-28 19:53:33 +01:00 committed by Mateo de Mayo
parent bd4b93968a
commit bf0015b8ab

View file

@ -27,7 +27,7 @@
#ifdef XRT_OS_WINDOWS
#define DEFAULT_NO_STDERR (true)
#define CHECK_SHOULD_NOT_PRINT (debug_get_bool_option_no_printing_stderr())
#define CHECK_SHOULD_NOT_PRINT (debug_get_bool_option_no_printing())
#else
#define DEFAULT_NO_STDERR (false)
#define CHECK_SHOULD_NOT_PRINT (debug_get_bool_option_no_printing() || debug_get_bool_option_no_printing_stderr())