]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Fix bootstrap on AIX due to fileno macro
authorJonathan Wakely <jwakely@redhat.com>
Sat, 16 Dec 2023 23:51:09 +0000 (23:51 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Sat, 16 Dec 2023 23:52:30 +0000 (23:52 +0000)
commit1f7acbf04296e4d2553570642d7290d56b99228f
treee61423d31669861e6feae4da75287d2a9a5f8a17
parentcb76f46c97e9f4e4869acceb77a000b6cc2cda0e
libstdc++: Fix bootstrap on AIX due to fileno macro

On AIX fileno is a function-like macro, so enclose the name in
parentheses to ensure we use the real function.

libstdc++-v3/ChangeLog:

* src/c++23/print.cc (__open_terminal(FILE*)): Avoid fileno
macro.
libstdc++-v3/src/c++23/print.cc