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

+1
View File
@@ -823,6 +823,7 @@ int main( int argc, char **argv )
#endif
Sys_PlatformInit( );
Sys_SetMaxFileLimit( );
// Set the initial time base
Sys_Milliseconds( );