From 8d42ca4e7101c789f5dbd5d3e80706855ac79b26 Mon Sep 17 00:00:00 2001 From: qiuyiuestc Date: Thu, 23 Sep 2010 11:09:03 +0000 Subject: [PATCH] delete #define stat _stat git-svn-id: https://rt-thread.googlecode.com/svn/trunk@932 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/dfs/SConscript | 2 +- components/dfs/include/dfs_posix.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/components/dfs/SConscript b/components/dfs/SConscript index e88088b350..6ca534ef52 100644 --- a/components/dfs/SConscript +++ b/components/dfs/SConscript @@ -71,7 +71,7 @@ if 'RT_DFS_ELM_USE_LFN' in dir(rtconfig) and rtconfig.RT_DFS_ELM_USE_LFN: if 'RT_USING_DFS_ELMFAT' in dir(rtconfig) and rtconfig.RT_USING_DFS_ELMFAT: src_local = src_local + elmfat -if 'RT_USING_DFS_NFS' in dir(rtconfig) and rtconfig.RT_USING_DFS_NFS: +if 'RT_USING_DFS_NFS' in dir(rtconfig) and rtconfig.RT_USING_DFS_NFS and rtconfig.RT_USING_LWIP: src_local = src_local + nfs path = path + [RTT_ROOT + '/components/dfs/filesystems/nfs'] diff --git a/components/dfs/include/dfs_posix.h b/components/dfs/include/dfs_posix.h index 502fc87c9d..d59421fd8d 100644 --- a/components/dfs/include/dfs_posix.h +++ b/components/dfs/include/dfs_posix.h @@ -75,7 +75,6 @@ typedef struct int cur; } DIR; -#define stat _stat #define statfs _statfs #define dirent _dirent