* k5-platform.h: Include endian.h if it's available, or machine/endian.h if
authorKen Raeburn <raeburn@mit.edu>
Wed, 15 Jun 2005 01:13:34 +0000 (01:13 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 15 Jun 2005 01:13:34 +0000 (01:13 +0000)
commit79cee32cb2ebf89be41bcb657bea8295bbb6a7fc
tree1a1625188809d8208df75aa83aa172eb1459d623
parent6010b94a2518acfa0734fc65c9c0c2bd2adffa97
* k5-platform.h: Include endian.h if it's available, or machine/endian.h if
it's available.  Include byteswap.h if available.
(K5_LE, K5_BE): Define based on endianness macros from header files, if
available.  Only do the architecture tests if this fails.
(SWAP16, SWAP32, SWAP64): Define if byteswap.h and bswap_16 are available.
({load,store}_{16,32,64}_le): Disable building of little-endian versions, which
aren't currently used.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17239 dc483132-0cff-0310-8789-dd5450dbe970
src/include/ChangeLog
src/include/k5-platform.h