]> git.ipfire.org Git - thirdparty/glibc.git/blame - sysdeps/mips/bits/endian.h
Test for stack alignment.
[thirdparty/glibc.git] / sysdeps / mips / bits / endian.h
CommitLineData
93995795
RM
1/* The MIPS architecture has selectable endianness.
2 This file is for a machine using big-endian mode. */
3
f4017d20
UD
4#ifndef _ENDIAN_H
5# error "Never use <bits/endian.h> directly; include <endian.h> instead."
6#endif
7
e077d10d
AO
8#if __MIPSEB
9# define __BYTE_ORDER __BIG_ENDIAN
10#endif
11#if __MIPSEL
12# define __BYTE_ORDER __LITTLE_ENDIAN
13#endif