]> git.ipfire.org Git - thirdparty/glibc.git/blob - sysdeps/nios2/bits/endian.h
Commit nios2 port to master.
[thirdparty/glibc.git] / sysdeps / nios2 / bits / endian.h
1 /* The Nios II architecture has selectable endianness. */
2
3 #ifndef _ENDIAN_H
4 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
5 #endif
6
7 #ifdef __nios2_big_endian__
8 # define __BYTE_ORDER __BIG_ENDIAN
9 #endif
10 #ifdef __nios2_little_endian__
11 # define __BYTE_ORDER __LITTLE_ENDIAN
12 #endif