[Mesa-dev] [PATCH 02/14] vc4, vc5: add ETIME fallback define

Eric Anholt eric at anholt.net
Thu Jan 18 19:18:26 UTC 2018


Dylan Baker <dylan at pnwbakers.com> writes:

> [ Unknown signature status ]
> I'm not sure how Emil feels about this (and the related patches) but I think it
> might be better to handle this at the build system level, for meson it would
> look something like (in the top level meson.build):
>
> if cc.get_define('ETIME') == ''
>   pre_args += '-DETIME=ETIMEDOUT'
> endif
>
> Which should be a permanent fix. Emil can probably provide an autotools
> equivalent.
>
> Quoting Greg V (2017-12-31 08:55:16)
>> FreeBSD only has ETIMEDOUT, not ETIME

Agreed, that if FreeBSD can't sort out the portability issue on their
end (which they really should), it should at least be a global
workaround in Mesa and not per-file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180118/6b49db05/attachment.sig>


More information about the mesa-dev mailing list