PATH_MAX compile error

Issue #112 on hold
Former user created an issue

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)

  1. Log in to comment