1 #ifndef _LTTNG_ENDIAN_H
2 #define _LTTNG_ENDIAN_H
7 * Copyright 2010-2011 (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 /* _LTTNG_ENDIAN_H */
This page took 0.029249 seconds and 4 git commands to generate.