Extend the ALSA version check to look at SND_LIB_MAJOR as well. They're

bound to hit 1.0 any year now.

Of course, this is completely untested.

svn-id: r10288
This commit is contained in:
Torbjörn Andersson 2003-09-18 07:27:48 +00:00
parent be9d4066e1
commit 3342a20578

View File

@ -37,7 +37,7 @@
* (you really rox, you know?)
*/
#if SND_LIB_MINOR >= 6
#if SND_LIB_MAJOR >= 1 || SND_LIB_MINOR >= 6
#define snd_seq_flush_output(x) snd_seq_drain_output(x)
#define snd_seq_set_client_group(x,name) /*nop */
#define my_snd_seq_open(seqp) snd_seq_open(seqp, "hw", SND_SEQ_OPEN_OUTPUT, 0)