[Mesa-dev] [PATCH 00/14] BSD portability (Meson, ANV, RADV, VC4/5, SWR)

Dylan Baker dylan at pnwbakers.com
Fri Jan 19 18:51:06 UTC 2018


Quoting Daniel Stone (2018-01-19 08:50:17)
> Hi,
> 
> On 19 January 2018 at 16:26, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> > On 18 January 2018 at 21:30, Dylan Baker <dylan at pnwbakers.com> wrote:
> >> I'm willing to defer to you on this, if you think that checking headers for
> >> ETIME is too fragile then we can leave it (you definitely have more experience
> >> in these things). I'm just concerned it's going to turn into an endless
> >> whack-a-mole game.
> >
> > I'll kindly ask Greg to open a bug with FreeBSD on the topic - they
> > seemed positive on the Elf topic.
> > Alternatively we can catch most of the fallout via a
> > check_compile("#include <errno.h>\n main() {return ETIME;}")
> >
> > Not sure of Meson has an equivalent though.
> 
> You can do cc.compiles('...') as you said, or as Dylan mentioned
> up-thread, the far more direct:
>   cc.has.header_symbol('errno.h', 'ETIME')
> 
> Cheers,
> Daniel

I should really read whole threads before I start responding...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180119/ae9239dc/attachment.sig>


More information about the mesa-dev mailing list