diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-14 18:23:12 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-14 18:23:12 +0000 |
commit | 4709cd2d9b4fdd07051ecfd628fd0f280103adb7 (patch) | |
tree | 11c82ea18a45d7f42a2a512635da67b8184d3c7a /libstdc++-v3/config.h.in | |
parent | 8ae6c1364c641327447437b763314c25968b7136 (diff) | |
download | gcc-4709cd2d9b4fdd07051ecfd628fd0f280103adb7.tar.gz |
2003-07-14 Paolo Carlini <pcarlini@unitus.it>
Nathan C. Myers <ncm-nospam@cantrip.org>
PR libstdc++/11378
* include/std/std_fstream.h (xsputn): Declare only.
* include/bits/fstream.tcc (xsputn): Define, optimize for the
always_noconv() case: when __n is sufficiently large flush
the buffer and issue a direct write, if possible combining the
two with writev in __basic_file<>::xsputn_2.
* config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
New, declare.
* config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
Define.
* acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
the availability of writev in <sys/uio.h>.
* configure.in: Call here.
* acconfig.h: Add undef for the corresponding symbol.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.
* testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
* include/std/std_fstream.h (sync): Constify a variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69341 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/config.h.in')
-rw-r--r-- | libstdc++-v3/config.h.in | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libstdc++-v3/config.h.in b/libstdc++-v3/config.h.in index 81e994dd597..41d86ada378 100644 --- a/libstdc++-v3/config.h.in +++ b/libstdc++-v3/config.h.in @@ -122,6 +122,9 @@ // Define if S_IFREG is available in <sys/stat.h>. #undef HAVE_S_IFREG +// Define if writev is available in <sys/uio.h>. +#undef HAVE_WRITEV + // Define if LC_MESSAGES is available in <locale.h>. #undef HAVE_LC_MESSAGES @@ -749,9 +752,6 @@ /* Define if you have the <nan.h> header file. */ #undef HAVE_NAN_H -/* Define if you have the <stdlib.h> header file. */ -#undef HAVE_STDLIB_H - /* Define if you have the <sys/filio.h> header file. */ #undef HAVE_SYS_FILIO_H @@ -776,6 +776,9 @@ /* Define if you have the <sys/types.h> header file. */ #undef HAVE_SYS_TYPES_H +/* Define if you have the <sys/uio.h> header file. */ +#undef HAVE_SYS_UIO_H + /* Define if you have the <unistd.h> header file. */ #undef HAVE_UNISTD_H |