config.tests/unix/alsa/alsatest.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
--- a/config.tests/unix/alsa/alsatest.cpp	Tue Jan 26 12:42:25 2010 +0200
+++ b/config.tests/unix/alsa/alsatest.cpp	Tue Feb 02 00:43:10 2010 +0200
@@ -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;
 }