diff options
| author | Meco Man <[email protected]> | 2021-11-30 10:34:42 -0500 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-11-30 10:39:40 -0500 |
| commit | 04d3d130815d8dd8f1817b3fbcc251bee0bd670c (patch) | |
| tree | 6e7a29bc0ebe2e45341fe1738553c2bc8fd1886f /components | |
| parent | 838d1087a05c1565aa8833d6a9dab7d3191e646e (diff) | |
替换宏定义
Diffstat (limited to 'components')
| -rw-r--r-- | components/cplusplus/Kconfig | 2 | ||||
| -rw-r--r-- | components/utilities/ymodem/ry_sy.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/components/cplusplus/Kconfig b/components/cplusplus/Kconfig index dfab433da0..42b5cf9556 100644 --- a/components/cplusplus/Kconfig +++ b/components/cplusplus/Kconfig @@ -10,7 +10,7 @@ if RT_USING_CPLUSPLUS bool "Enable c++11 threading feature support" default n select RT_USING_LIBC - select RT_USING_DFS + select RT_LIBC_USING_FILEIO select RT_USING_PTHREADS select RT_USING_RTC diff --git a/components/utilities/ymodem/ry_sy.c b/components/utilities/ymodem/ry_sy.c index caad51d6cd..3f3b022d7e 100644 --- a/components/utilities/ymodem/ry_sy.c +++ b/components/utilities/ymodem/ry_sy.c @@ -17,6 +17,10 @@ #include <stdlib.h> #include <string.h> +#ifndef DFS_USING_POSIX +#error "Please enable DFS_USING_POSIX" +#endif + struct custom_ctx { struct rym_ctx parent; |
