1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-18 17:07:24 +00:00

Don't redefine MAXNAMLEN if it previously been defined by the system

modified:   inc/locfile.h
This commit is contained in:
Nick Briggs 2020-07-12 18:02:06 -07:00
parent 123520adf8
commit 2f8789f423

View File

@ -703,6 +703,9 @@ extern int errno;
#define DIRSEPSTR "/"
#define DIRSEP '/'
#define UNIXDIRSEP '/'
/* system includes may already define MAXNAMLEN */
#if !defined(MAXNAMLEN)
#define MAXNAMLEN NAME_MAX
#endif
#endif