Portability fix for alsa-lib on mips

From: Henryk Plötz <henryk@ploetzli.ch>

I recently had problems building alsa-lib 1.0.10 on mips (for my
Netgear WGT634U). Turned out the problem was in include/alsa-symbols.h
were there was __asm__ code that wouldn't work with the mips assembler.
Attached is a patch that makes this work again.
This commit is contained in:
Takashi Iwai 2006-03-03 17:51:33 +00:00
parent 8f61812f1c
commit 46c67fe070

View file

@ -57,7 +57,7 @@
__asm__ (".set " #name "," #real); \
__asm__ (".set ." #name ",." #real)
#else
#ifdef __alpha__
#if defined(__alpha__) || defined(__mips__)
#define use_default_symbol_version(real, name, version) \
__asm__ (".weak " #name); \
__asm__ (#name " = " #real)