Skip to content
  • Jonathan Wakely's avatar
    4da67f63
    libstdc++: Fix std::print for Cygwin · 4da67f63
    Jonathan Wakely authored
    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.
    4da67f63
    libstdc++: Fix std::print for Cygwin
    Jonathan Wakely authored
    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.
Loading