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

+2
View File
@@ -70,6 +70,8 @@ qboolean Sys_PIDIsRunning( int pid );
qboolean Sys_OpenFolderInPlatformFileManager( const char *path );
qboolean Sys_SetMaxFileLimit( void );
#ifdef PROTOCOL_HANDLER
char *Sys_ParseProtocolUri( const char *uri );
#endif