Hi, This patch fixes a build problem I was having with the latest CVS version of ALSA and gcc 3.0.2. Specifically, the "read_unlock" function, which is really a preprocessor #define, wasn't being expanded within the snd_runtime_check() macros in mixer_oss.c.
Chris --- alsa-driver/include/driver.h.orig Fri Nov 16 12:32:59 2001 +++ alsa-driver/include/driver.h Fri Nov 16 12:28:37 2001 @@ -514,7 +514,7 @@ #define snd_printd(format, args...) /* nothing */ #define snd_assert(expr, args...) /* nothing */ -#define snd_runtime_check(expr, args...) do { if (!(expr)) { ##args; } } while (0) +#define snd_runtime_check(expr, args...) do { if (!(expr)) { args; } } while (0) #endif /* CONFIG_SND_DEBUG */ _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel