Subversion Repositories shark

Rev

Rev 54 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#include <endian.h>
#include <byteswap.h>
#include "ll/sys/cdefs.h"

__BEGIN_DECLS

#if __BYTE_ORDER == __BIG_ENDIAN

#define LE32(x) bswap_32(x)
#define BE32(x) (x)

#else /* little endian */

#define LE32(x) (x)
#define BE32(x) bswap_32(x)

#endif

__END_DECLS