[vlc-devel] OpenBSD build fix

Rémi Denis-Courmont remi at remlab.net
Thu May 7 17:14:13 CEST 2009


Le jeudi 7 mai 2009 17:45:45 Joris van Rooij, vous avez écrit :
> It's not _POSIX_THREAD_PRIORITY_SCHEDULING but _POSIX_PRIORITY_SCHEDULING.
> For the difference see Linux posixoptions(7). According to POSIX,
> _POSIX_PRIORITY_SCHEDULING is either not defined, -1, 0 or 200112L. It was
> indeed my bad not to check it for -1, but undefined equals to 0 in
> conditional preprocessor statements. I believe the following patch is the
> right way of checking it.

Actually, I think we need *both*.

Thanks anyway, everything shoudl be fixed.

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list