[vlc-devel] [PATCH] filesystem: use a sane default for NAME_MAX
Sean McGovern
gseanmcg at gmail.com
Mon Mar 10 16:06:40 CET 2014
---
src/posix/filesystem.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/posix/filesystem.c b/src/posix/filesystem.c
index 326af9e..a1bc646 100644
--- a/src/posix/filesystem.c
+++ b/src/posix/filesystem.c
@@ -29,6 +29,9 @@
#include <stdio.h>
#include <limits.h> /* NAME_MAX */
+#ifndef NAME_MAX
+# define NAME_MAX 255
+#endif
#include <errno.h>
#include <sys/types.h>
--
1.7.9.2
More information about the vlc-devel
mailing list