remove global namespace from stdout and stderr for windows

This commit is contained in:
Christopher A. Mosher 2022-12-05 17:41:35 -05:00
parent ba91b30956
commit e74c631d44
1 changed files with 2 additions and 2 deletions

View File

@ -84,8 +84,8 @@ static int runSdl(const std::string config_file) {
extern "C"
#endif
int main(int argc, char *argv[]) {
::setbuf(::stdout, nullptr);
::setbuf(::stderr, nullptr);
::setbuf(stdout, nullptr);
::setbuf(stderr, nullptr);
const int x = E2Const::test();
if (x != -1) {