2015-02-13 Steve Ellcey <sellcey@imgtec.com>
[glibc.git] / sysdeps / mips / bits / endian.h
blob43ce0098a4c1d0b2402c18fd7cf32b9f83f01274
1 /* The MIPS architecture has selectable endianness.
2 This file is for a machine using big-endian mode. */
4 #ifndef _ENDIAN_H
5 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
6 #endif
8 #ifdef __MIPSEB
9 # define __BYTE_ORDER __BIG_ENDIAN
10 #endif
11 #if __MIPSEL
12 # define __BYTE_ORDER __LITTLE_ENDIAN
13 #endif