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:
Allen Cronce authored and Tim Angus committed 2026-01-12 18:01:35 +00:00
1 parent 3ef30e759e
commit 0d1f4fd471
4 files changed
+52

No files matched your search

+10
View File
@@ -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;
}