mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
NxWidgets updates from Petteri Aimonen; buildroot GDB build fix from Ken Bannister
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5592 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -150,7 +150,7 @@ char *fgets(FAR char *buf, int buflen, FILE *stream)
|
||||
if (ch == '\n')
|
||||
#elif defined(CONFIG_EOL_IS_CR)
|
||||
if (ch == '\r')
|
||||
#else /* elif CONFIG_EOL_IS_EITHER_CRLF */
|
||||
#else /* elif defined(CONFIG_EOL_IS_EITHER_CRLF) */
|
||||
if (ch == '\n' || ch == '\r')
|
||||
#endif
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user