diff options
| author | Meco Man <[email protected]> | 2021-11-15 11:22:49 -0500 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-11-16 00:57:56 -0500 |
| commit | 973f25901c641f01b19b065a1e263533fc4d8755 (patch) | |
| tree | 3e4e095bb0d1b4bd1b458f865ec7bf975594bc17 /components/libc/compilers/dlib/syscall_write.c | |
| parent | 0bcab2892a81960ceb394b5cde4bc78eed3326eb (diff) | |
[dfs] move dfs back
Diffstat (limited to 'components/libc/compilers/dlib/syscall_write.c')
| -rw-r--r-- | components/libc/compilers/dlib/syscall_write.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/libc/compilers/dlib/syscall_write.c b/components/libc/compilers/dlib/syscall_write.c index 9a7707e9d3..d5ede3e59e 100644 --- a/components/libc/compilers/dlib/syscall_write.c +++ b/components/libc/compilers/dlib/syscall_write.c @@ -37,9 +37,9 @@ size_t __write(int handle, const unsigned char *buf, size_t len) { -#ifdef RT_USING_POSIX +#ifdef DFS_USING_POSIX int size; -#endif /* RT_USING_POSIX */ +#endif /* DFS_USING_POSIX */ if ((handle == _LLIO_STDOUT) || (handle == _LLIO_STDERR)) { @@ -63,11 +63,11 @@ size_t __write(int handle, const unsigned char *buf, size_t len) } else { -#ifdef RT_USING_POSIX +#ifdef DFS_USING_POSIX size = write(handle, buf, len); return size; /* return the length of the data written */ #else return _LLIO_ERROR; -#endif /* RT_USING_POSIX */ +#endif /* DFS_USING_POSIX */ } } |
