mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-10 03:51:18 +00:00
Merge pull request #301 from Pan7/openfiles
Increase the max open files to its maximum for msvc
This commit is contained in:
commit
97ee2b51bd
1 changed files with 4 additions and 0 deletions
|
@ -418,6 +418,10 @@ int main( int argc, char* argv[] ) {
|
||||||
const char *libgl;
|
const char *libgl;
|
||||||
int i, j, k;
|
int i, j, k;
|
||||||
|
|
||||||
|
#if defined( _WIN32 ) && defined( _MSC_VER )
|
||||||
|
//increase the max open files to its maximum for the C run-time of MSVC
|
||||||
|
_setmaxstdio( 2048 );
|
||||||
|
#endif
|
||||||
/*
|
/*
|
||||||
Rambetter on Sat Nov 13, 2010:
|
Rambetter on Sat Nov 13, 2010:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue