diff options
author | Paolo Carlini <pcarlini@unitus.it> | 2003-03-28 19:28:47 +0100 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2003-03-28 18:28:47 +0000 |
commit | bbacb998c8f265fb6d51716eb707c73b07d9ccdf (patch) | |
tree | 87d4905b8b4194c68ef7eadde4923aafabeee4eb /libstdc++-v3/config.h.in | |
parent | d18ad19175a1a54aa79cdfad88c65019cbc0f4ae (diff) | |
download | gcc-bbacb998c8f265fb6d51716eb707c73b07d9ccdf.zip gcc-bbacb998c8f265fb6d51716eb707c73b07d9ccdf.tar.gz gcc-bbacb998c8f265fb6d51716eb707c73b07d9ccdf.tar.bz2 |
re PR libstdc++/9533 (Can't read from tty with ifstream)
2003-03-28 Paolo Carlini <pcarlini@unitus.it>
Nathan Myers <ncm@cantrip.org>
PR libstdc++/9533
* include/bits/fstream.tcc (basic_filebuf<>::open): Don't
call underflow().
(basic_filebuf<>::showmanyc): Use the information provided
by codecvt and __basic_file<>::showmanyc_helper to implement
a non-trivial showmanyc.
* config/io/basic_file_stdio.h
(__basic_file<>::showmanyc_helper): New, declare.
* config/io/basic_file_stdio.cc
(__basic_file<>::showmanyc_helper): Define.
(__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
(__basic_file<char>::open): Don't call fcntl().
* acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
GLIBCPP_CHECK_POLL): New macros.
* configure.in: Call here.
* acconfig.h: Add #undefs for the corresponding symbols.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.
Co-Authored-By: Nathan Myers <ncm@cantrip.org>
From-SVN: r64978
Diffstat (limited to 'libstdc++-v3/config.h.in')
-rw-r--r-- | libstdc++-v3/config.h.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libstdc++-v3/config.h.in b/libstdc++-v3/config.h.in index aab9b24..f0b34c8 100644 --- a/libstdc++-v3/config.h.in +++ b/libstdc++-v3/config.h.in @@ -113,6 +113,15 @@ // Define if the compiler/host combination has __builtin_sqrtl #undef HAVE___BUILTIN_SQRTL +// Define if poll is available in <poll.h>. +#undef HAVE_POLL + +// Define if S_ISREG (Posix) is available in <sys/stat.h>. +#undef HAVE_S_ISREG + +// Define if S_IFREG is available in <sys/stat.h>. +#undef HAVE_S_IFREG + // Define if LC_MESSAGES is available in <locale.h>. #undef HAVE_LC_MESSAGES @@ -740,6 +749,12 @@ /* Define if you have the <string.h> header file. */ #undef HAVE_STRING_H +/* Define if you have the <sys/filio.h> header file. */ +#undef HAVE_SYS_FILIO_H + +/* Define if you have the <sys/ioctl.h> header file. */ +#undef HAVE_SYS_IOCTL_H + /* Define if you have the <sys/isa_defs.h> header file. */ #undef HAVE_SYS_ISA_DEFS_H |