alsatest: Fix the check to treat alsalib 1.1.x as correct version

Task-number: QTBUG-51681
Change-Id: I63266c33342f02f4d1a5ea5786f5fbc5a1b421b3
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
This commit is contained in:
Dmitry Shachnev 2016-03-05 10:25:33 +03:00
parent bceb1b260c
commit b8f98d9565

View File

@ -32,7 +32,7 @@
****************************************************************************/
#include <alsa/asoundlib.h>
#if(!(SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0 && SND_LIB_SUBMINOR >= 10))
#if SND_LIB_VERSION < 0x1000a // 1.0.10
#error "Alsa version found too old, require >= 1.0.10"
#endif