add the definition of MAXNAMLEN in sys/dirent.h

This commit is contained in:
WangQixiang
2021-05-12 16:07:19 +08:00
parent 4de9ba152a
commit a29fe72cc9

View File

@@ -24,6 +24,10 @@
* for reference.
*/
#if !defined(MAXNAMLEN) && __BSD_VISIBLE
#define MAXNAMLEN 1024
#endif
/**
* @brief Opaque directory structure
*/