diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-28 18:28:47 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-28 18:28:47 +0000 |
commit | 3a2785797d761c76ad5f4b335eb145c9dbf580b8 (patch) | |
tree | 87d4905b8b4194c68ef7eadde4923aafabeee4eb /libstdc++-v3/config.h.in | |
parent | 32351c925cead89ad3b7086725683ba4b2bc9e44 (diff) | |
download | ppe42-gcc-3a2785797d761c76ad5f4b335eb145c9dbf580b8.tar.gz ppe42-gcc-3a2785797d761c76ad5f4b335eb145c9dbf580b8.zip |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64978 138bc75d-0d04-0410-961f-82ee72b054a4
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 aab9b244101..f0b34c82a17 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 |