mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
linux build quick fix
This commit is contained in:
parent
5a31cc35ba
commit
81a2f95279
7 changed files with 3841 additions and 3828 deletions
|
@ -299,6 +299,7 @@ void bf::System::Console::PutChar(char c)
|
|||
|
||||
void bf::System::Console::ReopenHandles()
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
FILE* fDummy;
|
||||
freopen_s(&fDummy, "CONOUT$", "w", stdout);
|
||||
freopen_s(&fDummy, "CONOUT$", "w", stderr);
|
||||
|
@ -310,6 +311,7 @@ void bf::System::Console::ReopenHandles()
|
|||
SetStdHandle(STD_OUTPUT_HANDLE, hConOut);
|
||||
SetStdHandle(STD_ERROR_HANDLE, hConOut);
|
||||
SetStdHandle(STD_INPUT_HANDLE, hConIn);
|
||||
#endif
|
||||
}
|
||||
|
||||
void bf::System::Runtime::Init(int version, int flags, BfRtCallbacks* callbacks)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue