From: Neal Andrew Crook Date: Tue, 24 May 2016 21:57:03 +0000 (+0100) Subject: Define NAME_MAX to be the same as MAXNAMLEN X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=c754da94337ca9a10c26ebe9a80933609b19a024;p=FUZIX.git Define NAME_MAX to be the same as MAXNAMLEN Allegedly: MAXNAMLEN is the BSD name for what POSIX calls NAME_MAX --- diff --git a/Library/include/dirent.h b/Library/include/dirent.h index a6c4f1b6..695088ea 100644 --- a/Library/include/dirent.h +++ b/Library/include/dirent.h @@ -4,8 +4,9 @@ #include #endif - +/* `MAXNAMLEN' is the BSD name for what POSIX calls `NAME_MAX'. */ #define MAXNAMLEN 30 +#define NAME_MAX 30 struct dirent { long d_ino; /* Try to be iBCS2 like */