On Sat, Dec 16, 2023 at 7:04 PM Jonathan Wakely <jwak...@redhat.com> wrote:

> On Sun, 17 Dec 2023 at 00:02, Jonathan Wakely <jwak...@redhat.com> wrote:
> >
> > 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.
>
> Actually I just pushed it now. The functions in that file are only
> actually used on Windows, so if they build on linux and AIX, that's
> good enough.
>

Thanks.

I had tested and was just about to push it myself.

Thanks, David

Reply via email to