summaryrefslogtreecommitdiff
path: root/components/libc/compilers/dlib/syscall_read.c
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2021-11-24 17:37:03 +0800
committerGitHub <[email protected]>2021-11-24 17:37:03 +0800
commit64023c38f7aa23f7c53e3c117ee19362aad3f33a (patch)
treeb14db8ab9fd683e397ec169109a4ceb9bdfa39ce /components/libc/compilers/dlib/syscall_read.c
parent68f33ba783c49c960747b6bdf881d8834fc7799f (diff)
parent973f25901c641f01b19b065a1e263533fc4d8755 (diff)
Merge pull request #5283 from mysterywolf/dfs
[dfs] move dfs back
Diffstat (limited to 'components/libc/compilers/dlib/syscall_read.c')
-rw-r--r--components/libc/compilers/dlib/syscall_read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/libc/compilers/dlib/syscall_read.c b/components/libc/compilers/dlib/syscall_read.c
index e88f88ead4..469ea7c1dd 100644
--- a/components/libc/compilers/dlib/syscall_read.c
+++ b/components/libc/compilers/dlib/syscall_read.c
@@ -34,7 +34,7 @@
size_t __read(int handle, unsigned char *buf, size_t len)
{
-#ifdef RT_USING_POSIX
+#ifdef DFS_USING_POSIX
int size;
if (handle == _LLIO_STDIN)
@@ -59,5 +59,5 @@ size_t __read(int handle, unsigned char *buf, size_t len)
return size; /* return the length of the data read */
#else
return _LLIO_ERROR;
-#endif /* RT_USING_POSIX */
+#endif /* DFS_USING_POSIX */
}