WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Fix ioemu compile on Solaris

To: Christoph Egger <Christoph.Egger@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Fix ioemu compile on Solaris
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 25 Feb 2008 09:01:12 +0000
Cc: john.levon@xxxxxxx
Delivery-date: Mon, 25 Feb 2008 01:01:46 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200802250900.39680.Christoph.Egger@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ach3jPgANtJwluOAEdysaAAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH] Fix ioemu compile on Solaris
User-agent: Microsoft-Entourage/11.3.6.070618


On 25/2/08 08:00, "Christoph Egger" <Christoph.Egger@xxxxxxx> wrote:

>> -#if defined(_POSIX_C_SOURCE)
>> +#if defined(__Linux__)
> 
> That's wrong. NetBSD also has posix_memalign().
> Maybe this:
> 
> #ifndef __sun__

I shall opt for defined(_POSIX_C_SOURCE) && !defined(__sun__)

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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