Update of /cvsroot/alsa/alsa-driver/include In directory sc8-pr-cvs1:/tmp/cvs-serv29349
Modified Files: adriver.h Log Message: fixed the compilation with 2.6 environment. added definition of the obsolete EXPORT_NO_SYMBOLS. Index: adriver.h =================================================================== RCS file: /cvsroot/alsa/alsa-driver/include/adriver.h,v retrieving revision 1.55 retrieving revision 1.56 diff -u -r1.55 -r1.56 --- adriver.h 8 Sep 2003 09:15:23 -0000 1.55 +++ adriver.h 24 Sep 2003 16:40:19 -0000 1.56 @@ -187,8 +187,8 @@ #define writeq(v, a) do { __writeq((v),(a)); mb(); } while(0) #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 28) #include <linux/interrupt.h> +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 28) static inline void synchronize_irq_wrapper(unsigned int irq) { synchronize_irq(); } #undef synchronize_irq #define synchronize_irq(irq) synchronize_irq_wrapper(irq) @@ -383,6 +383,10 @@ } #undef vmap #define vmap snd_compat_vmap +#endif + +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 0) /* correct version? */ +#define EXPORT_NO_SYMBOLS #endif #include "amagic.h" ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog