]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Do not use isatty on avr [PR115482]
authorDetlef Vollmann <dv@vollmann.ch>
Tue, 23 Jul 2024 08:25:22 +0000 (09:25 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 23 Jul 2024 09:25:36 +0000 (10:25 +0100)
commit8439405e38c56b774cf3c65bdafae5f9e11d470a
tree6675d736cf6614714ffe9da05b60cc0302e7229a
parentb9cefd67a2a464a3c9413e6b3f28e7dc7a9ef162
libstdc++: Do not use isatty on avr [PR115482]

avrlibc has an incomplete unistd.h that doesn't have isatty.
So building libstdc++ fails when compiling c++23/print.cc.
As a workaround I added a check for AVR.

libstdc++-v3/ChangeLog:

PR libstdc++/115482
* src/c++23/print.cc (__open_terminal) [__AVR__]: Do not use
isatty.
libstdc++-v3/src/c++23/print.cc