From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Hanquez Subject: Re: [PATCH] libxc portability fixes Date: Wed, 19 Sep 2007 16:25:15 +0200 Message-ID: <20070919142515.GA6106@snarc.org> References: <200709191519.37628.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <200709191519.37628.Christoph.Egger@amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christoph Egger Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, Sep 19, 2007 at 03:19:37PM +0200, Christoph Egger wrote: > Attached patch mainly contains portability fixes: > - use MAP_ANON, that is what both (BSD-)Unix and Linux have looks like that might bite us back at some point: man mmap: MAP_ANON Synonym for MAP_ANONYMOUS. Deprecated. what about: #ifndef MAP_ANONYMOUS #define MAP_ANONYMOUS MAP_ANON #endif Cheers, -- Vincent Hanquez