Skip to content

Commit

Permalink
increase CRT limit of open files to 2048
Browse files Browse the repository at this point in the history
  • Loading branch information
nu774 committed Aug 1, 2015
1 parent 699e079 commit 68ef0cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1644,6 +1644,7 @@ int wmain1(int argc, wchar_t **argv)
std::setbuf(stderr, 0);
_setmode(0, _O_BINARY);
_setmode(2, _O_U8TEXT);
_setmaxstdio(2048);

#if 0
FILE *fp = std::fopen("CON", "r");
Expand Down

0 comments on commit 68ef0cf

Please sign in to comment.