]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
preproc: PATH_MAX is defined in sys/syslimits.h on FreeBSD
authorThomas Debesse <dev@illwieckz.net>
Wed, 30 Aug 2017 22:58:12 +0000 (22:58 +0000)
committerThomas Debesse <dev@illwieckz.net>
Sun, 2 Jun 2019 01:18:20 +0000 (03:18 +0200)
tools/quake3/common/vfs.h

index 6920fd1c4153d792c988fe612d823b2e52cc0982..227a2f29f76fe05f4800c163e6b7620615a0e146 100644 (file)
 #define PATH_MAX 260
 #endif // PATH_MAX
 
+// PATH_MAX
+#if defined( __FreeBSD__ )
+#include <sys/syslimits.h>
+#endif
+
 #define VFS_MAXDIRS 64
 
 void vfsInitDirectory( const char *path );