Set the maximum file limit for POSIX systems
Resolves an issue where the macOS application's dylibs could not be loaded because there were too many maps; on macOS the default maximum number of open files is 256.
This commit is contained in:
1 parent
3ef30e759e
commit
0d1f4fd471
4 files changed
+52
No files matched your search
@@ -929,3 +929,13 @@ qboolean Sys_OpenFolderInPlatformFileManager( const char *path )
|
||||
{
|
||||
return ShellExecute( NULL, "explore", path, NULL, NULL, SW_SHOWDEFAULT ) > (HINSTANCE)32;
|
||||
}
|
||||
|
||||
/*
|
||||
=================
|
||||
Sys_SetMaxFileLimit
|
||||
=================
|
||||
*/
|
||||
qboolean Sys_SetMaxFileLimit( void )
|
||||
{
|
||||
return qtrue;
|
||||
}
|
||||
Reference in new issue
Block a user