commit | bba7f08d2788bc9bc30a7a60fdfd873a73fead9a | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Mon May 29 05:51:12 2006 +0000 |
committer | Rob Landley <rob@landley.net> | Mon May 29 05:51:12 2006 +0000 |
tree | d2f6adda7dc120be2aa64c7a984f12c8ecf608f2 | |
parent | 97551974485a8680299560af8863023dfb9634af [diff] |
Add SWAP_LE?? and SWAP_BE?? macros, and make things use them. Converts values to/from little endian or big endian, which is a NOP if that's what the current platform already is.