[vlc-devel] [RFC PATCH 5/6] android: hack sys/shm.h detection
Rémi Denis-Courmont
remi at remlab.net
Wed Oct 8 19:11:30 CEST 2014
Le mercredi 8 octobre 2014, 18:26:08 Thomas Guillem a écrit :
> ---
> include/vlc_fixups.h | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
> index e515763..9e5973b 100644
> --- a/include/vlc_fixups.h
> +++ b/include/vlc_fixups.h
> @@ -357,4 +357,10 @@ long nrand48 (unsigned short subi[3]);
> #define nanf(tagp) NAN
> #endif
>
> +#ifdef __ANDROID__
> +/* android-L has empty sys/shm.h headers that triggers shm detection but it
> + * doesn't have any shm functions and/or symbols. */
> +#undef HAVE_SYS_SHM_H
> +#endif
Maybe someone should tell Google to fix that brain damage before Android L is
actually released...
> +
> #endif /* !LIBVLC_FIXUPS_H */
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list