projects
/
xonotic
/
netradiant.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a999abf
)
preproc: PATH_MAX is defined in sys/syslimits.h on FreeBSD
author
Thomas Debesse <dev@illwieckz.net>
Wed, 30 Aug 2017 22:58:12 +0000
(22:58 +0000)
committer
Thomas Debesse <dev@illwieckz.net>
Sun, 2 Jun 2019 01:18:20 +0000
(
03:18
+0200)
tools/quake3/common/vfs.h
patch
|
blob
|
history
diff --git
a/tools/quake3/common/vfs.h
b/tools/quake3/common/vfs.h
index
6920fd1
..
227a2f2
100644
(file)
--- a/
tools/quake3/common/vfs.h
+++ b/
tools/quake3/common/vfs.h
@@
-49,6
+49,11
@@
#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 );