qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] target-cris/opcode-cris.h: rename REG_PC/SP to


From: Edgar E. Iglesias
Subject: Re: [Qemu-devel] [PATCH] target-cris/opcode-cris.h: rename REG_PC/SP to CRIS_REG_PC/SP
Date: Sat, 20 Aug 2011 01:43:01 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, Aug 20, 2011 at 12:27:04AM +0100, Peter Maydell wrote:
> The REG_PC constant used in opcode-cris.h can clash with a
> similar define in system include files. In particular the
> Ubuntu Lucid SPARC signal.h will define REG_PC, and since
> qemu-common.h now includes signal.h this was causing compile
> failures. Rename the constants to avoid this issue.
> (NB that REG_SP is not actually used within QEMU.)
> 
> Signed-off-by: Peter Maydell <address@hidden>

Applied, thanks Peter.

Cheers



reply via email to

[Prev in Thread] Current Thread [Next in Thread]