Subversion Repositories shark

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
54 pj 1
#include <endian.h>
2
#include <byteswap.h>
3
 
4
#if __BYTE_ORDER == __BIG_ENDIAN
5
 
6
#define LE32(x) bswap_32(x)
7
#define BE32(x) (x)
8
 
9
#else /* little endian */
10
 
11
#define LE32(x) (x)
12
#define BE32(x) bswap_32(x)
13
 
14
#endif