summaryrefslogtreecommitdiffstats
path: root/config.tests/unix/alsa/alsatest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests/unix/alsa/alsatest.cpp')
-rw-r--r--config.tests/unix/alsa/alsatest.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.tests/unix/alsa/alsatest.cpp b/config.tests/unix/alsa/alsatest.cpp
index 1307c4e..f1092f8 100644
--- a/config.tests/unix/alsa/alsatest.cpp
+++ b/config.tests/unix/alsa/alsatest.cpp
@@ -40,8 +40,11 @@
****************************************************************************/
#include <alsa/asoundlib.h>
+#if(!(SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0 && SND_LIB_SUBMINOR >= 10))
+#error "Alsa version found too old, require >= 1.0.10"
+#endif
+
int main(int argc,char **argv)
{
- return 0;
}