summaryrefslogtreecommitdiff
path: root/include/stdinc.h
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-01-14 17:37:55 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-01-14 17:37:55 +0000
commitfa3b6b6c9ca3240366e6ec985d339a07681cd9c6 (patch)
tree7c3dfd18b7ec6a2de047d7ac82aef2057bfc3b48 /include/stdinc.h
parent33862809dfc9df2bf039dfbf47f7524c00947b54 (diff)
- Quick and dirty workaround to fix build on GNU/Hurd
because of undefined PATH_MAX git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1737 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'include/stdinc.h')
-rw-r--r--include/stdinc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/stdinc.h b/include/stdinc.h
index 09c0939..288f4da 100644
--- a/include/stdinc.h
+++ b/include/stdinc.h
@@ -87,4 +87,10 @@
#include <sys/param.h>
#endif
+#ifdef PATH_MAX
+#define HYB_PATH_MAX PATH_MAX
+#else
+#define HYB_PATH_MAX 4096
+#endif
+
#endif