linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: uapi/asm/siginfo.h: Fix GCC 4.1.2 compilation

To: "Maciej W. Rozycki" <macro@linux-mips.org>
Subject: Re: [PATCH] MIPS: uapi/asm/siginfo.h: Fix GCC 4.1.2 compilation
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 30 Jul 2013 18:16:32 +0200
Cc: linux-mips@linux-mips.org
In-reply-to: <alpine.LFD.2.03.1307282107060.9486@linux-mips.org>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <alpine.LFD.2.03.1307282107060.9486@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.21 (2010-09-15)
On Sun, Jul 28, 2013 at 09:20:25PM +0100, Maciej W. Rozycki wrote:

>  It wasn't until GCC 4.3 I believe that the __SIZEOF_*__ predefined macros 
> were added.  The change below switches <uapi/asm/siginfo.h> to the 
> _MIPS_SZLONG macro so that compilation with e.g. GCC 4.1.2 succeeds.  
> This is a user API header so I think this is even more important, for 
> older userland support.  The change adds an unsuccessful default too, to 
> catch any compiler configuration oddities.
> 
> Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>

Thanks, applied.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>