aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mips/bits/endian.h
blob: 92e97c708ff78ee7793e0e46f98fa9daaa696213 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* The MIPS architecture has selectable endianness.
   This file is for a machine using big-endian mode.  */

#ifndef _ENDIAN_H
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
#endif

#ifdef __MIPSEB
# define __BYTE_ORDER __BIG_ENDIAN
#endif
#ifdef __MIPSEL
# define __BYTE_ORDER __LITTLE_ENDIAN
#endif