feat: direct OutputDebugString functions to stderr

This commit is contained in:
Tropical 2026-03-02 22:09:49 -06:00
parent 300b1ff841
commit 55964caf95

View file

@ -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