[vlc-devel] [PATCH] configure.ac: check validity of sys/shm.h

Alexandre Janniaux ajanni at videolabs.io
Thu May 21 09:44:54 CEST 2020


Hi,

I expected that HAVE_SYS_SHM_H presence would mean in
particular that all usual function from man sys_shm.h are
available, since we probably want all of them or none of
them.

Would you prefer usual function linkage test?

Regards,
--
Alexandre Janniaux
Videolabs

On Wed, May 20, 2020 at 10:34:02PM +0300, Rémi Denis-Courmont wrote:
> Le keskiviikkona 20. toukokuuta 2020, 21.34.16 EEST Alexandre Janniaux a écrit
> :
> > Some version of Android < 26 have sys/shm.h but it doesn't contain the
> > functions that shall be exposed. So as to avoid misconfiguration, only
> > define HAVE_SYS_SHM_H if the header exists AND that it exposes the
> > required functions.
>
> "The required functions" depend on which file includes the header, so that
> can't possibly work as advertised.
>
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
>
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list