diff options
| author | bernard <[email protected]> | 2017-10-17 22:27:06 +0800 |
|---|---|---|
| committer | bernard <[email protected]> | 2017-10-17 22:27:06 +0800 |
| commit | 8a38307e2cce628017e9eb7153ae7a2430a3d9ef (patch) | |
| tree | 1eb4cfdceddb9c542806acf226d463de62271abb /components/dfs/KConfig | |
| parent | 947d8aa4d2d0742eb5ac1968406893f4e58a279b (diff) | |
[libc] Add RT_USING_POSIX macro.
1. Add macro check in rtdebug.h;
2. Use RT_USING_POSIX for poll/select, stdin etc.
3. Split dfs_posix.h to dfs_posix.h, dfs_poll.h and dfs_select.h;
Diffstat (limited to 'components/dfs/KConfig')
| -rw-r--r-- | components/dfs/KConfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/dfs/KConfig b/components/dfs/KConfig index 5be74c7874..59adb46c71 100644 --- a/components/dfs/KConfig +++ b/components/dfs/KConfig @@ -87,7 +87,8 @@ if RT_USING_DFS config RT_USING_DFS_NET bool "Enable BSD socket operated by file system API" - depends on RT_USING_LWIP + select RT_USING_LWIP + select RT_USING_POSIX default n help Let BSD socket operated by file system API, such as read/write and involveed in select/poll POSIX APIs. |
