From: Ferenc Wagner Subject: Re: Pesky '#define current' in mini-os/sched.h Date: Mon, 27 Apr 2009 22:47:54 +0200 Message-ID: <87k5553jt1.fsf@tac.ki.iif.hu> References: <873abt51e5.fsf@tac.ki.iif.hu> <20090427200345.GM5965@const.famille.thibault.fr> <87ocuh3kjd.fsf@tac.ki.iif.hu> <20090427203544.GQ5965@const.famille.thibault.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20090427203544.GQ5965@const.famille.thibault.fr> (Samuel Thibault's message of "Mon, 27 Apr 2009 22:35:44 +0200") List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Samuel Thibault Cc: "xen-devel@lists.xensource.com" , Keir Fraser List-Id: xen-devel@lists.xenproject.org Samuel Thibault writes: > Ferenc Wagner, le Mon 27 Apr 2009 22:32:06 +0200, a =C3=A9crit : >> Samuel Thibault writes: >>=20 >>> Keir Fraser, le Mon 27 Apr 2009 20:50:18 +0100, a =C3=A9crit : >>> >>>> The simplest fix would be to wrap the '#define current' in a '#ifdef >>>> __MINIOS__' region. >>> >>> There actually already is such wrapper. >>=20 >> Where? Not in mini-os/sched.h. > > Are we perhaps looking at different trees? I can see > > #ifdef __INSIDE_MINIOS__ I'm working with xen-3.3.1, which is the latest stable, as far as I know. Maybe it's already fixed in your development version. --=20 Feri.