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