]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - libio/stdio.h
Always declare gets for C++ up to C++11 without checking __USE_GNU.
[thirdparty/glibc.git] / libio / stdio.h
index c69b382da1e102ba12106c7be76cf3fd3d3ddb83..9ca3ad3a280f317cc0a51a0641bc464bb1f05cde 100644 (file)
@@ -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.