mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-31 20:03:00 +00:00
feat: direct OutputDebugString functions to stderr
This commit is contained in:
parent
300b1ff841
commit
55964caf95
|
|
@ -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
|
||||
Loading…
Reference in a new issue