summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2016-03-05 10:25:33 +0300
committerDmitry Shachnev <mitya57@gmail.com>2016-03-07 14:37:29 +0000
commitb8f98d956501dfa4ce03a137f15d404930a56066 (patch)
treea1cf8d3a0c4771294571de573a544d8a648446ff /config.tests
parentbceb1b260cebba27afb5c6c5ab2c01ebda5103dd (diff)
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>
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/unix/alsa/alsatest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.tests/unix/alsa/alsatest.cpp b/config.tests/unix/alsa/alsatest.cpp
index cab6533977..0b45819b61 100644
--- a/config.tests/unix/alsa/alsatest.cpp
+++ b/config.tests/unix/alsa/alsatest.cpp
@@ -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