mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-25 08:47:16 +00:00
[iar] 修复编译错误 (#6126)
This commit is contained in:
committed by
GitHub
parent
b19602bcaa
commit
e1e1596cbd
@@ -13,6 +13,7 @@
|
||||
#include <limits.h>
|
||||
#include <sys/errno.h>
|
||||
|
||||
#ifdef DFS_USING_POSIX
|
||||
ssize_t getdelim(char **lineptr, size_t *n, int delim, FILE *stream)
|
||||
{
|
||||
char *cur_pos, *new_lineptr;
|
||||
@@ -83,3 +84,4 @@ ssize_t getline(char **lineptr, size_t *n, FILE *stream)
|
||||
{
|
||||
return getdelim(lineptr, n, '\n', stream);
|
||||
}
|
||||
#endif /* DFS_USING_POSIX */
|
||||
|
||||
Reference in New Issue
Block a user