From: Keir Fraser Subject: Re: [PATCH] Correct public header defines for Solaris/Sun CC Date: Thu, 09 Aug 2007 10:08:24 +0100 Message-ID: References: <24eb50ea28dea351633c.1186596260@xenbld> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <24eb50ea28dea351633c.1186596260@xenbld> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: john.levon@sun.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 8/8/07 19:04, "john.levon@sun.com" 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