Fix SYSCALL_CANCEL for empty argumetns
[glibc.git] / sysdeps / mips / bits / endian.h
blob126059799d781066c15c968a651179056861aa59
1 /* The MIPS architecture has selectable endianness.
2 It exists in both little and big endian flavours and we
3 want to be able to share the installed header files between
4 both, so we define __BYTE_ORDER based on GCC's predefines. */
6 #ifndef _ENDIAN_H
7 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
8 #endif
10 #ifdef __MIPSEB
11 # define __BYTE_ORDER __BIG_ENDIAN
12 #endif
13 #ifdef __MIPSEL
14 # define __BYTE_ORDER __LITTLE_ENDIAN
15 #endif