]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/l4re-core/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/xtensa/bits/endian.h
Update
[l4.git] / l4 / pkg / l4re-core / uclibc / lib / contrib / uclibc / libc / sysdeps / linux / xtensa / bits / endian.h
1 #ifndef _ENDIAN_H
2 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
3 #endif
4
5 /* Xtensa can be either big or little endian.  */
6 #ifdef __XTENSA_EB__
7 # define __BYTE_ORDER __BIG_ENDIAN
8 #else
9 # define __BYTE_ORDER __LITTLE_ENDIAN
10 #endif