summaryrefslogtreecommitdiff
path: root/components/libc/compilers
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-09-01 09:28:16 -0400
committerMeco Man <[email protected]>2021-09-01 09:28:16 -0400
commitdd9db58a865775a0756d1b1ce4f1ef021542f54b (patch)
treeaf9ec8d2286e4a5ac9666db9f380cba89d845603 /components/libc/compilers
parentaab382c32ed0fb795d12191c7a59265f574e8466 (diff)
优化dfs.h和dirent.h的包含关系
Diffstat (limited to 'components/libc/compilers')
-rw-r--r--components/libc/compilers/common/dirent.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/components/libc/compilers/common/dirent.h b/components/libc/compilers/common/dirent.h
index 6727d96788..a6353fd6f8 100644
--- a/components/libc/compilers/common/dirent.h
+++ b/components/libc/compilers/common/dirent.h
@@ -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
{