diff --git a/otherlibs/unix/getcwd.c b/otherlibs/unix/getcwd.c index f57d68799..fbc1e43cd 100644 --- a/otherlibs/unix/getcwd.c +++ b/otherlibs/unix/getcwd.c @@ -21,7 +21,7 @@ #ifndef PATH_MAX #ifdef MAXPATHLEN -#define PATH_MAN MAXPATHLEN +#define PATH_MAX MAXPATHLEN #else #define PATH_MAX 512 #endif diff --git a/otherlibs/unix/readlink.c b/otherlibs/unix/readlink.c index 2e41cbce8..7cef8988f 100644 --- a/otherlibs/unix/readlink.c +++ b/otherlibs/unix/readlink.c @@ -21,7 +21,7 @@ #ifndef PATH_MAX #ifdef MAXPATHLEN -#define PATH_MAN MAXPATHLEN +#define PATH_MAX MAXPATHLEN #else #define PATH_MAX 512 #endif