PATH_MAX compile error
Issue #112
on hold
When compiling, I get "core/admincmd.c:63: error: ‘PATH_MAX’ undeclared (first use in this function)". After 5 minutes of research I don't think it's a standard C macro. I fixed the problem by adding the following lines at the top of admincmd.c:
{{{ #ifndef PATH_MAX #define PATH_MAX FILENAME_MAX #endif }}}
Comments (3)
-
-
Account Deleted Make sure you're running a recent copy of asss.
Admincmd.c is missing an include in older versions. More info here: http://forums.minegoboom.com/viewtopic.php?t=8446&highlight=pathmax
-
Account Deleted - changed status to on hold
- Log in to comment
What OS / arch is this? PATH_MAX is part of POSIX.