aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/config.h.in
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@unitus.it>2003-03-09 23:31:45 +0100
committerPaolo Carlini <paolo@gcc.gnu.org>2003-03-09 22:31:45 +0000
commit95dca20c9c6f8f810efe1ab58c8c0f425415e715 (patch)
tree34ebb56add00d1c25c0e83fe8ea0ac6e0f46304e /libstdc++-v3/config.h.in
parentf7b3ab8ae7588e4b502c4dd731ad6c472bb842ce (diff)
downloadgcc-95dca20c9c6f8f810efe1ab58c8c0f425415e715.zip
gcc-95dca20c9c6f8f810efe1ab58c8c0f425415e715.tar.gz
gcc-95dca20c9c6f8f810efe1ab58c8c0f425415e715.tar.bz2
re PR libstdc++/7744 (streambuf::in_avail() always returns 0 (zero) for cin input stream)
2003-03-09 Paolo Carlini <pcarlini@unitus.it> Nathan Myers <ncm@cantrip.org> PR libstdc++/7744 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn, seekoff, seekpos): Add a boolean parameter __stdio. * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn, seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell, fseek/ftell, respectively), otherwise read (write, lseek, lseek, respectively). * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external, _M_really_overflow, seekoff): Use the boolean parameter in the calls. * include/std/std_fstream.h (sync): Likewise. * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise. * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert libstdc++/8399 commit involving isatty(0). * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove. (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove * configure.in: Remove call. * aclocal.m4: Regenerate. * config.h.in: Regenerate. * configure: Regenerate. * testsuite/27_io/narrow_stream_objects.cc (test11): Add. Co-Authored-By: Nathan Myers <ncm@cantrip.org> From-SVN: r64051
Diffstat (limited to 'libstdc++-v3/config.h.in')
-rw-r--r--libstdc++-v3/config.h.in3
1 files changed, 0 insertions, 3 deletions
diff --git a/libstdc++-v3/config.h.in b/libstdc++-v3/config.h.in
index 6ac56fd..aab9b24 100644
--- a/libstdc++-v3/config.h.in
+++ b/libstdc++-v3/config.h.in
@@ -461,9 +461,6 @@
/* Define if you have the iconv_open function. */
#undef HAVE_ICONV_OPEN
-/* Define if you have the isatty function. */
-#undef HAVE_ISATTY
-
/* Define if you have the isinf function. */
#undef HAVE_ISINF