xfs
[Top] [All Lists]

Re: Fix for endian macros on FreeBSD

To: Nathan Scott <nathans@xxxxxxx>
Subject: Re: Fix for endian macros on FreeBSD
From: Craig Rodrigues <rodrigc@xxxxxxxxxxxxxx>
Date: Sat, 27 May 2006 18:04:43 -0400
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20060528070609.A387938@xxxxxxxxxxxxxxxxxxxxxxxx>
References: <20060527132256.GA72643@xxxxxxxxxxxxxx> <20060528070609.A387938@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
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 .

-- 
Craig Rodrigues        
rodrigc@xxxxxxxxxxxxxx

Attachment: a.txt
Description: Text document

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