Skip to content

Mike Cohen

iOS and Mac developer

  • About Me
  • Blog

Porting to Intel II

October 11, 2005 by Mike Cohen

Never assume Macs are big-endian. I found code which uses #ifdef __MAC__ to decide whether byte order swapping is required – that’s just plain wrong.

Share this:

  • Share on Facebook (Opens in new window) Facebook
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Mastodon (Opens in new window) Mastodon
Categories Programming Tags Mac x86
You too can have a lucrative government job
A new word

Recent Posts

  • Bluesky is now open for everyone
  • Note
  • Happy Birthday, Macintosh!
  • Published: Song of the Day: Lucky Number
  • Let’s try this again

Medium Posts

  • Jimi Mbaye (1957–2025)
  • What have we done?
  • Bluesky added video and reached 10M users
  • Bluesky now has DMs
  • Concert review: Brigitte Calls Me Baby at Cafe Du Nord
  • Threads has joined the Fediverse
© 2026 Mike Cohen • Built with GeneratePress