7 * Copyright 2010 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
9 * Dual LGPL v2.1/GPL v2 license.
13 # include <asm/byteorder.h>
15 # define __BYTE_ORDER __BIG_ENDIAN
16 # elif defined(__LITTLE_ENDIAN)
17 # define __BYTE_ORDER __LITTLE_ENDIAN
19 # error "unknown endianness"
22 # define __BIG_ENDIAN 4321
24 #ifndef __LITTLE_ENDIAN
25 # define __LITTLE_ENDIAN 1234
31 #endif /* _LTT_ENDIAN_H */