Skip to content

Commit 913824c

Browse files
committed
freopen stderr on debug builds
1 parent 61bf76d commit 913824c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Shared/src/debug.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ void __consoleAttach() {
1111
AllocConsole();
1212
AttachConsole(GetCurrentProcessId());
1313
freopen("CON", "w", stdout);
14+
freopen("CON", "w", stderr);
1415
}
1516

1617
void __bindump(const void* ptr, int num_bits, const char* expr)

0 commit comments

Comments
 (0)