Port: Set PATH_MAX on GNU Hurd
[babeltrace.git] / src / compat / limits.h
index be54499a5f764659ffdf3105da4e3f2541d0b627..712ca7a054721c52c96e2da213ea110afef12c65 100644 (file)
@@ -27,4 +27,9 @@
 
 #endif /* __linux__, __FreeBSD__, _POSIX_HOST_NAME_MAX */
 
+/* GNU Hurd has no PATH_MAX, use a sensible default */
+#ifdef __GNU__
+#define PATH_MAX 4096
+#endif /* __GNU__ */
+
 #endif /* _BABELTRACE_LIMITS_H */
This page took 0.02336 seconds and 4 git commands to generate.