On Mac, include TargetConditionals.h and architecture/byte_order.h,
authorKen Raeburn <raeburn@mit.edu>
Mon, 29 Oct 2007 23:30:49 +0000 (23:30 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 29 Oct 2007 23:30:49 +0000 (23:30 +0000)
commit365615a07ea528324818c89cf2447fbebf8fb95d
tree22a0562c85bee9a942a5268b2f4f37854313d1e1
parent6ced4e0fa11dc0e2752ad03f8264a531470495b4
On Mac, include TargetConditionals.h and architecture/byte_order.h,
and use OSSwapInt{16,32,64} for SWAP* macros.

Add k5_htonll and k5_ntohll functions.  (Implementation assumes the
swapping is its own reverse on all platforms we support.)

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