Move mips from ports to libc.
[jlayton/glibc.git] / sysdeps / mips / bits / endian.h
1 /* The MIPS architecture has selectable endianness.
2    This file is for a machine using big-endian mode.  */
3
4 #ifndef _ENDIAN_H
5 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
6 #endif
7
8 #if __MIPSEB
9 # define __BYTE_ORDER __BIG_ENDIAN
10 #endif
11 #if __MIPSEL
12 # define __BYTE_ORDER __LITTLE_ENDIAN
13 #endif