[vlc-devel] [RFC PATCH 5/6] android: hack sys/shm.h detection

Jean-Baptiste Kempf jb at videolan.org
Thu Oct 9 16:39:40 CEST 2014


On 08 Oct, Rémi Denis-Courmont wrote :
> 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...

If it was the only issue...

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list