]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/common/vfs.h
q3map2: increase VFS_MAXDIRS because multiple pakpaths with many pk3dirs can lead...
[xonotic/netradiant.git] / tools / quake3 / common / vfs.h
index 6920fd1c4153d792c988fe612d823b2e52cc0982..228f5d51c58ca9a77fe77b7bee96d7d5cdc5fea4 100644 (file)
 #define PATH_MAX 260
 #endif // PATH_MAX
 
-#define VFS_MAXDIRS 64
+// PATH_MAX
+#if defined( __FreeBSD__ )
+#include <sys/syslimits.h>
+#endif
+
+// Multiple pakpaths with many pk3dirs can lead
+// to high list of VFS directories
+#define VFS_MAXDIRS 256
 
 void vfsInitDirectory( const char *path );
 void vfsShutdown();