summaryrefslogtreecommitdiff
path: root/components/utilities
diff options
context:
space:
mode:
authorguo <[email protected]>2021-12-02 09:58:33 +0800
committerGitHub <[email protected]>2021-12-02 09:58:33 +0800
commit1d4594c6fcad494ef256c9bbd8aa7d64132a0995 (patch)
tree96465d7a6431653b5e11d4c4a2dae3c264841ffe /components/utilities
parent838d1087a05c1565aa8833d6a9dab7d3191e646e (diff)
parent7b1f65a690c8f28d172e640989643df12597fa7a (diff)
Merge pull request #5317 from mysterywolf/PSE
[PSE分支] 替换宏定义 将posix单独划分为一个Kconfig目录
Diffstat (limited to 'components/utilities')
-rw-r--r--components/utilities/ymodem/ry_sy.c4
1 files changed, 4 insertions, 0 deletions
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;