Re: [AD] [BUG?] X11 Windowed driver delay...

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> > @@ -363,7 +363,7 @@ if test -n "$allegro_enable_alsadigi"; t
> >    AC_CACHE_CHECK(for supported ALSA version for digital sound,
> >    allegro_cv_support_alsadigi,
> >    AC_TRY_COMPILE([#include <sys/asoundlib.h>
> > -                  #if SND_LIB_MAJOR == 0 && SND_LIB_MINOR == 9
> > +                  #if SND_LIB_MAJOR >= 0 || SND_LIB_MINOR >= 9
> >                    #else
> >                    #error
> >                    #endif],,
> >
> > Isn't the condition always true?
>
> Oops, yes. The >= 0 should be > 0 of course.

Yes, but I don't like it very much either.

OK for mainline with 

#if (SND_LIB_MAJOR > 0) || (SND_LIB_MAJOR == 0 && SND_LIB_MINOR == 9)

or whatever similar construct the preprocessor is happy with :-)

-- 
Eric Botcazou




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/