aboutsummaryrefslogtreecommitdiff
path: root/libio/stdio.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-03-09 22:08:39 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-03-09 22:08:39 +0000
commitc6e013c15e0091edc49affd6ce26562845000dcd (patch)
treefbd184fdbd62c6f09b69d351de0a23da69eb4619 /libio/stdio.h
parent4962050e9783502ec0465ae1b6a4103563385198 (diff)
downloadglibc-c6e013c15e0091edc49affd6ce26562845000dcd.zip
glibc-c6e013c15e0091edc49affd6ce26562845000dcd.tar.gz
glibc-c6e013c15e0091edc49affd6ce26562845000dcd.tar.bz2
Always declare gets for C++ up to C++11 without checking __USE_GNU.
Diffstat (limited to 'libio/stdio.h')
-rw-r--r--libio/stdio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/stdio.h b/libio/stdio.h
index c69b382..9ca3ad3 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.