On Sun, Nov 12, 2017 at 11:22:04PM -0300, James Almer wrote:
> On 11/10/2017 11:57 AM, Diego Biurrun wrote:
> > --- a/configure
> > +++ b/configure
> > @@ -4134,9 +4134,8 @@ extern_prefix=${sym%%ff_extern*}
> >  
> > -_restrict=
> >  for restrict_keyword in restrict __restrict__ __restrict; do
> > -    check_cc <<EOF && _restrict=$restrict_keyword && break
> > +    check_cc <<EOF && break
> >  void foo(char * $restrict_keyword p);
> >  EOF
> > @@ -5318,12 +5317,14 @@ cat > $TMPH <<EOF
> >  
> > +test $restrict_keyword != restrict &&
> > +    echo "#define restrict $_restrict" >> $TMPH
> 
> echo "#define restrict $restrict_keyword" >> $TMPH

Doh, right, thanks.

Diego
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to