From 46c67fe07060f12af3a9adbc346a9467b4b16a4f Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 3 Mar 2006 17:51:33 +0000 Subject: [PATCH] =?utf8?q?Portability=20fix=20for=20alsa-lib=20on=20mips?= =?utf8?q?=20From:=20Henryk=20Pl=C3=B6tz=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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. --- include/alsa-symbols.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/alsa-symbols.h b/include/alsa-symbols.h index 900d9e6f..6f10ebed 100644 --- a/include/alsa-symbols.h +++ b/include/alsa-symbols.h @@ -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) -- 2.47.1