diff options
author | Dan Albert <danalbert@google.com> | 2014-06-17 15:33:31 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-06-17 15:52:07 -0700 |
commit | c0ce5908277a9bf18628946629dba4277e9a2281 (patch) | |
tree | 202bb9620430a58b0899a7948c36dc4be3cad272 /libstdc++/include | |
parent | b656410a73c4dfa2a3f8deba0a673080320f8605 (diff) | |
download | bionic-c0ce5908277a9bf18628946629dba4277e9a2281.zip bionic-c0ce5908277a9bf18628946629dba4277e9a2281.tar.gz bionic-c0ce5908277a9bf18628946629dba4277e9a2281.tar.bz2 |
Hide declaration of gets(3) for C11 and later.
gets(3) was removed from C11.
Change-Id: I4040a8a6c6d5d2a86878e8a80ca67964fbbb82a8
Diffstat (limited to 'libstdc++/include')
-rw-r--r-- | libstdc++/include/cstdio | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++/include/cstdio b/libstdc++/include/cstdio index 3c8b5c6..25838ad 100644 --- a/libstdc++/include/cstdio +++ b/libstdc++/include/cstdio @@ -63,7 +63,9 @@ using ::ftell; using ::fwrite; using ::getc; using ::getchar; +#if defined(__STDC_VERSION__) && __STDC_VERSION__ < 201112L using ::gets; +#endif using ::perror; using ::printf; using ::putc; |