aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-02-21 18:10:00 +0000
committerJonathan Wakely <jwakely@redhat.com>2024-02-28 11:27:46 +0000
commit4da67f63b9e306c43764857a0436d13668e1d3cc (patch)
treec1b248095d1b1183600ce8c4924af38bbbce9467 /gcc/function.h
parent3c1e624a926dadee24f45beb1da84b12d135511a (diff)
downloadgcc-4da67f63b9e306c43764857a0436d13668e1d3cc.zip
gcc-4da67f63b9e306c43764857a0436d13668e1d3cc.tar.gz
gcc-4da67f63b9e306c43764857a0436d13668e1d3cc.tar.bz2
libstdc++: Fix std::print for Cygwin
Cygwin should use std::fwrite, not WriteConsoleW. And the -lstdc++exp library is only needed when running the tests on *-*-mingw*. libstdc++-v3/ChangeLog: * include/std/ostream (vprint_unicode) [__CYGWIN__]: Use POSIX code path for Cygwin instead of Windows. * include/std/print (vprint_unicode) [__CYGWIN__]: Likewise. * testsuite/27_io/basic_ostream/print/1.cc: Only add -lstdc++exp for *-*-mingw* targets. * testsuite/27_io/print/1.cc: Likewise.
Diffstat (limited to 'gcc/function.h')
0 files changed, 0 insertions, 0 deletions