优化dfs.h和dirent.h的包含关系

This commit is contained in:
Meco Man
2021-09-01 09:28:16 -04:00
parent aab382c32e
commit dd9db58a86
2 changed files with 4 additions and 10 deletions

View File

@@ -44,11 +44,7 @@ typedef struct
#ifndef HAVE_DIRENT_STRUCTURE
#define HAVE_DIRENT_STRUCTURE
#ifdef DFS_PATH_MAX
#define DIRENT_NAME_MAX DFS_PATH_MAX
#else
#define DIRENT_NAME_MAX 256
#endif
struct dirent
{