Browse Source

delete #define stat _stat

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@932 bbd45198-f89e-11dd-88c7-29a3b14d5316
qiuyiuestc 14 years ago
parent
commit
8d42ca4e71
2 changed files with 1 additions and 2 deletions
  1. 1 1
      components/dfs/SConscript
  2. 0 1
      components/dfs/include/dfs_posix.h

+ 1 - 1
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']
 

+ 0 - 1
components/dfs/include/dfs_posix.h

@@ -75,7 +75,6 @@ typedef struct
 	int cur;
 } DIR;
 
-#define stat _stat
 #define statfs _statfs
 #define dirent _dirent