[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Correct public header defines for Solaris/Sun CC


  • To: <john.levon@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxxxxxxxx>
  • Date: Thu, 09 Aug 2007 10:08:24 +0100
  • Delivery-date: Thu, 09 Aug 2007 02:06:12 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcfaZNbgFZyMIkZYEdyKhAAX8io7RQ==
  • Thread-topic: [Xen-devel] [PATCH] Correct public header defines for Solaris/Sun CC

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.