From 55964caf95b5e8ea889a253e2187f6a2a81c0d5b Mon Sep 17 00:00:00 2001 From: Tropical <42101043+tropicaaal@users.noreply.github.com> Date: Mon, 2 Mar 2026 22:09:49 -0600 Subject: [PATCH] feat: direct `OutputDebugString` functions to stderr --- Minecraft.Client/Linux/LinuxStubs.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Minecraft.Client/Linux/LinuxStubs.h b/Minecraft.Client/Linux/LinuxStubs.h index 4af8de6d8..e153d0de8 100644 --- a/Minecraft.Client/Linux/LinuxStubs.h +++ b/Minecraft.Client/Linux/LinuxStubs.h @@ -550,6 +550,21 @@ static inline BOOL QueryPerformanceCounter(LARGE_INTEGER *lpPerformanceCount) return true; } +#ifndef _FINAL_BUILD +VOID OutputDebugStringW(LPCWSTR lpOutputString) +{ + fwprintf(stderr, lpOutputString); +} +VOID OutputDebugString(LPCSTR lpOutputString) +{ + fprintf(stderr, lpOutputString); +} + +VOID OutputDebugStringA(LPCSTR lpOutputString) +{ + fprintf(stderr, lpOutputString); +} +#endif // _CONTENT_PACKAGE #endif // LINUXSTUBS_H \ No newline at end of file