diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | libio/stdio.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 79d9dc2665..d2e15f0a8e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2012-03-09 Joseph Myers <joseph@codesourcery.com> + [BZ #13566] + * libio/stdio.h (gets): Always declare for C++ up to C++11 without + checking __USE_GNU. + * Makerules ($(inst_includedir)/%.h): New rule. * stdio-common/Makefile (headers): Add bits/stdio_lim.h. (install-others): Remove variable setting. diff --git a/libio/stdio.h b/libio/stdio.h index c69b382da1..9ca3ad3a28 100644 --- a/libio/stdio.h +++ b/libio/stdio.h @@ -623,7 +623,7 @@ extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) __wur; #if !defined __USE_ISOC11 \ - || (defined __cplusplus && __cplusplus <= 201103L && !defined __USE_GNU) + || (defined __cplusplus && __cplusplus <= 201103L) /* Get a newline-terminated string from stdin, removing the newline. DO NOT USE THIS FUNCTION!! There is no limit on how much it will read. |