mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-03 10:21:05 +00:00
14 lines
323 B
C
14 lines
323 B
C
/* 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
|
|
|
|
#if __MIPSEB
|
|
# define __BYTE_ORDER __BIG_ENDIAN
|
|
#endif
|
|
#if __MIPSEL
|
|
# define __BYTE_ORDER __LITTLE_ENDIAN
|
|
#endif
|