gcc/libstdc++-v3/config/os
Jonathan Wakely 0bc199fc5d libstdc++: Override BUFSIZ for Windows targets [PR 94268]
This replaces uses of BUFSIZ with a new _GLIBCXX_BUFSIZ macro that can
be overridden in target-specific config headers.

That allows the mingw and mingw-w64 targets to override it, because
BUFSIZ is apparently defined to 512, resulting in poor performance. The
MSVCRT stdio apparently uses 4096, so we use that too.

libstdc++-v3/ChangeLog:

	PR libstdc++/94268
	* config/os/mingw32-w64/os_defines.h (_GLIBCXX_BUFSIZ):
	Define.
	* config/os/mingw32/os_defines.h (_GLIBCXX_BUFSIZ):
	Define.
	* include/bits/fstream.tcc: Use _GLIBCXX_BUFSIZ instead
	of BUFSIZ.
	* include/ext/stdio_filebuf.h: Likewise.
	* include/std/fstream (_GLIBCXX_BUFSIZ): Define.
2020-10-28 13:19:21 +00:00
..
aix aix: add FAT library support for libstdc++fs.a 2020-10-11 11:47:00 -04:00
bionic Update copyright years. 2020-01-01 12:51:42 +01:00
bsd libstdc++: std::ctype fixes for recent versions of NetBSD 2020-01-16 16:30:12 +00:00
djgpp Update copyright years. 2020-01-01 12:51:42 +01:00
generic Update copyright years. 2020-01-01 12:51:42 +01:00
gnu-linux libstdc++: Add std::from_chars for floating-point types 2020-07-20 23:49:27 +01:00
hpux Update copyright years. 2020-01-01 12:51:42 +01:00
mingw32 libstdc++: Override BUFSIZ for Windows targets [PR 94268] 2020-10-28 13:19:21 +00:00
mingw32-w64 libstdc++: Override BUFSIZ for Windows targets [PR 94268] 2020-10-28 13:19:21 +00:00
newlib Update copyright years. 2020-01-01 12:51:42 +01:00
qnx/qnx6.1 Update copyright years. 2020-01-01 12:51:42 +01:00
solaris Update copyright years. 2020-01-01 12:51:42 +01:00
tpf Update copyright years. 2020-01-01 12:51:42 +01:00
uclibc Update copyright years. 2020-01-01 12:51:42 +01:00
vxworks Update copyright years. 2020-01-01 12:51:42 +01:00