From: Ferenc Wagner Subject: Re: Pesky '#define current' in mini-os/sched.h Date: Mon, 27 Apr 2009 22:32:06 +0200 Message-ID: <87ocuh3kjd.fsf@tac.ki.iif.hu> References: <873abt51e5.fsf@tac.ki.iif.hu> <20090427200345.GM5965@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: <20090427200345.GM5965@const.famille.thibault.fr> (Samuel Thibault's message of "Mon, 27 Apr 2009 22:03:45 +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: > 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. Where? Not in mini-os/sched.h. There is an #ifdef HAVE_LIBC around #include in errno.h, though. --=20 Feri.