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] Correct public header defines for Solaris/Sun CC

To: <john.levon@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Correct public header defines for Solaris/Sun CC
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Thu, 09 Aug 2007 10:08:24 +0100
Delivery-date: Thu, 09 Aug 2007 02:06:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <24eb50ea28dea351633c.1186596260@xenbld>
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: AcfaZNbgFZyMIkZYEdyKhAAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH] Correct public header defines for Solaris/Sun CC
User-agent: Microsoft-Entourage/11.3.3.061214
On 8/8/07 19:04, "john.levon@xxxxxxx" <john.levon@xxxxxxx> wrote:

> Correct public header defines for Solaris/Sun CC
> 
> The Solaris environment only defines __i386, not __i386__.
> Additionally, the assembler define used is _ASM. Accommodate both.

Can't you just include xen.h through a wrapper that makes these definitions
for your non-gnu environment? Since I assume this is for Solaris and so you
have full control over the source code of the includer.

 -- Keir


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

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