summaryrefslogtreecommitdiffstats
path: root/config.tests/alsa/alsatest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests/alsa/alsatest.cpp')
-rw-r--r--config.tests/alsa/alsatest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.tests/alsa/alsatest.cpp b/config.tests/alsa/alsatest.cpp
index 5ee77f2ac..ea511cd21 100644
--- a/config.tests/alsa/alsatest.cpp
+++ b/config.tests/alsa/alsatest.cpp
@@ -27,7 +27,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