diff options
author | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-01-23 21:17:15 +0000 |
---|---|---|
committer | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-01-23 21:17:15 +0000 |
commit | e1150b06d0409baf4b71121be0cafeab180f2858 (patch) | |
tree | 653ae282650fbf9b6ae0cf8824160ca78993a7b0 /libstdc++-v3/include/c_global | |
parent | 2623625f033ac40b5b72064a2031ba8fb078d3bd (diff) | |
download | ppe42-gcc-e1150b06d0409baf4b71121be0cafeab180f2858.tar.gz ppe42-gcc-e1150b06d0409baf4b71121be0cafeab180f2858.zip |
2014-01-23 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
Steve Ellcey <sellcey@mips.com>
* acinclude.m4 (GLIBCXX_CHECK_TMPNAM): New check for tmpnam
function.
* configure.ac: Use GLIBCXX_CHECK_TMPNAM.
* (configure, config.h.in): Regenerate.
* include/c_global/cstdio: Guard ::tmpnam with _GLIBCXX_USE_TMPNAM
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207009 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/c_global')
-rw-r--r-- | libstdc++-v3/include/c_global/cstdio | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/include/c_global/cstdio b/libstdc++-v3/include/c_global/cstdio index 25d942220fe..6043b3de2bf 100644 --- a/libstdc++-v3/include/c_global/cstdio +++ b/libstdc++-v3/include/c_global/cstdio @@ -137,7 +137,9 @@ namespace std using ::sprintf; using ::sscanf; using ::tmpfile; +#if _GLIBCXX_USE_TMPNAM using ::tmpnam; +#endif using ::ungetc; using ::vfprintf; using ::vprintf; |