From 04a4ef84f01ca2bed9cda2a58f583f7a9428949d Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 1 Feb 2013 14:53:38 +0000 Subject: NxWidgets updates from Petteri Aimonen; buildroot GDB build fix from Ken Bannister git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5592 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/libc/stdio/lib_fgets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nuttx/libc') diff --git a/nuttx/libc/stdio/lib_fgets.c b/nuttx/libc/stdio/lib_fgets.c index 35d024ebb..87eed285d 100644 --- a/nuttx/libc/stdio/lib_fgets.c +++ b/nuttx/libc/stdio/lib_fgets.c @@ -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 { -- cgit v1.2.3