From 5819ad274f800bf6697d05876feb118479b00417 Mon Sep 17 00:00:00 2001
From: Yon Uriarte <yon.uriarte@gmail.com>
Date: Sat, 10 Feb 2024 19:05:21 +0000
Subject: [PATCH] Print traces on windows to stderr

---
 common/trace_helpers.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/trace_helpers.cpp b/common/trace_helpers.cpp
index 03801a5eca..20fcd2b6ab 100644
--- a/common/trace_helpers.cpp
+++ b/common/trace_helpers.cpp
@@ -318,7 +318,7 @@ void TRACE_MANAGER::traceV( const wxString& aWhat, const wxString& aFmt, va_list
     wxString str;
     str.PrintfV( aFmt, vargs );
 
-#ifdef __unix__
+#if defined( __UNIX__ ) || defined( _WIN32 )
     fprintf( stderr, " %-30s | %s", aWhat.c_str().AsChar(), str.c_str().AsChar() );
 #endif
 }