xfs
[Top] [All Lists]

Re: Fix for endian macros on FreeBSD

To: Craig Rodrigues <rodrigc@xxxxxxxxxxxxxx>
Subject: Re: Fix for endian macros on FreeBSD
From: Nathan Scott <nathans@xxxxxxx>
Date: Mon, 29 May 2006 10:33:33 +1000
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20060527220443.GA4996@crodrigues.org>; from rodrigc@crodrigues.org on Sat, May 27, 2006 at 06:04:43PM -0400
References: <20060527132256.GA72643@crodrigues.org> <20060528070609.A387938@wobbly.melbourne.sgi.com> <20060527220443.GA4996@crodrigues.org>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Sat, May 27, 2006 at 06:04:43PM -0400, Craig Rodrigues wrote:
> On Sun, May 28, 2006 at 07:06:09AM +1000, Nathan Scott wrote:
> > Will do.  It seems to me the HAVE_SWABMACROS macro is no longer
> > useful, can you try a build with that #define removed from your
> > freebsd.h please (and also the 3 INT_SWAPXX macros removed)? As
> 
> Here is a patch that works for me.  I had to change
> to use __bswap16 instead of bswap16, because of
> issues with macros expanding inside macros .

OK, merged, thanks.

-- 
Nathan


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