mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
libs/libc/stdio/lib_getdelim.c: Correct the character slash
This commit is contained in:
@@ -55,10 +55,10 @@
|
||||
#undef HAVE_GETLINE
|
||||
#if defined(CONFIG_EOL_IS_CR)
|
||||
# define HAVE_GETLINE 1
|
||||
# define EOLCH '/r'
|
||||
# define EOLCH '\r'
|
||||
#elif defined(CONFIG_EOL_IS_LF)
|
||||
# define HAVE_GETLINE 1
|
||||
# define EOLCH '/n'
|
||||
# define EOLCH '\n'
|
||||
#endif
|
||||
|
||||
#define BUFSIZE_INIT 64
|
||||
|
||||
Reference in New Issue
Block a user