Skip to content

Commit

Permalink
Merge pull request #2 from mysterywolf/fff
Browse files Browse the repository at this point in the history
重新整理对4.1.0版本的处理
  • Loading branch information
armink authored Mar 28, 2022
2 parents 69bdf4c + 5bd6d88 commit 631dcda
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions inc/fdb_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@
/* more configuration macro is in rtconfig.h */

#include <rtthread.h>
#ifdef RT_USING_DFS

#if RTTHREAD_VERSION >= 40100
#ifdef RT_USING_DFS
#if RT_VER_NUM >= 0x40100
#include <sys/stat.h>
#include <sys/statfs.h>
#include <unistd.h>
#else // RTTHREAD_VERSION < 40100
#else
#include <dfs_posix.h>
#endif // RTTHREAD_VERSION
#endif // RT_USING_DFS
#endif /* RT_VER_NUM >= 0x40100 */
#endif /* RT_USING_DFS */

#define FDB_PRINT(...) rt_kprintf(__VA_ARGS__)

Expand Down

0 comments on commit 631dcda

Please sign in to comment.