Re: Finding the architectures of a binary
Re: Finding the architectures of a binary
- Subject: Re: Finding the architectures of a binary
- From: "Clark Cox" <email@hidden>
- Date: Mon, 10 Nov 2008 10:08:57 -0800
On Mon, Nov 10, 2008 at 5:48 AM, Iceberg-Dev <email@hidden> wrote:
> #if BYTE_ORDER==LITTLE_ENDIAN
> tMagicCookie=CFSwapInt32(tMagicCookie);
> #endif
Instead of these preprocessor checks, why not just do:
tMagicCookie =CFSwapInt32BigToHost(tMagicCookie);
--
Clark S. Cox III
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden