At Mon, 7 Oct 2002 00:00:33 +0100 (BST), Chris Rankin wrote: > > Hi, > > I have modified the SoundScape (proto-)driver to use the typesafe Linux min() macro, >defining > the macro if it hasn't been declared already. (This is compatibility for Linux 2.2.) >In fact, it turns > out that both min() and ARRAY_SIZE() are declared in include/linux/kernel.h and so I >suppose > that both these macros are candidates for putting in adriver.h instead.
ah, regarding min(), i already replaced it with a simple if statement for 2.2 kernel at friday, because there is only one place it's used. yes, the macros should go into adriver.h. once when these macro are there, i'll take the original code back. thanks, Takashi ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel