On Sat, 16 Dec 2023 at 23:06, David Edelsohn <dje....@gmail.com> wrote:
>
> On Sat, Dec 16, 2023 at 4:44 PM Jakub Jelinek <ja...@redhat.com> wrote:
>>
>> On Sat, Dec 16, 2023 at 04:24:13PM -0500, David Edelsohn wrote:
>> > AIX stdio.h defines fileno as a macro although there is a symbol in libc.
>> >
>> > I think that print.cc at least needs to
>> >
>> >
>> > #undef fileno
>> >
>> >
>> > before the usage.
>>
>> Or (::fileno)(f) ?
>
>
> Yes, that also avoids the error.

Yup, I've just tested it. I'll push that change in the morning.


>
> Thanks, David
>
>>
>>
>>         Jakub
>>

Reply via email to