disable stdio buffering
This commit is contained in:
parent
25ff105c05
commit
bf98f8a96b
|
|
@ -198,6 +198,11 @@ extern "C" SDL_AppResult SDL_AppInit(void **appstate, int argc, char **argv) {
|
|||
freopen("CONOUT$", "wb", stderr);
|
||||
}
|
||||
#endif
|
||||
#ifdef __OPENORBIS__
|
||||
// May prevent spurious crashes on swap handlers...
|
||||
setvbuf(stdout, nullptr, _IONBF, 0);
|
||||
setvbuf(stderr, nullptr, _IONBF, 0);
|
||||
#endif
|
||||
|
||||
Common::Log::Initialize();
|
||||
Common::Log::SetColorConsoleBackendEnabled(true);
|
||||
|
|
|
|||
Loading…
Reference in New Issue