compile fix for bsd
[openwrt/svn-archive/archive.git] / libs / alsa-lib / patches / 02-alsa_symbols.patch
1 --- alsa-lib-1.0.10/include/alsa-symbols.h.orig 2006-03-01 21:59:33.500097817 +0100
2 +++ alsa-lib-1.0.10/include/alsa-symbols.h 2006-03-01 22:00:22.323650362 +0100
3 @@ -57,7 +57,7 @@
4 __asm__ (".set " #name "," #real); \
5 __asm__ (".set ." #name ",." #real)
6 #else
7 -#ifdef __alpha__
8 +#if defined(__alpha__) || defined(__mips__) || defined(__arm__)
9 #define use_default_symbol_version(real, name, version) \
10 __asm__ (".weak " #name); \
11 __asm__ (#name " = " #real)