Check __BIG_ENDIAN__ and __LITTLE_ENDIAN__ to determine endianness. In fallback code, check ia64 platforms for hpux vs everything else; HP-UX uses big-endian mode. http://src.mit.edu/fisheye/changelog/krb5/?cs=22761 Commit By: raeburn Revision: 22761 Changed Files: U trunk/src/include/k5-platform.h