aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mips
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mips')
-rw-r--r--sysdeps/mips/bits/endian.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/mips/bits/endian.h b/sysdeps/mips/bits/endian.h
index 92e97c7..1260597 100644
--- a/sysdeps/mips/bits/endian.h
+++ b/sysdeps/mips/bits/endian.h
@@ -1,5 +1,7 @@
/* The MIPS architecture has selectable endianness.
- This file is for a machine using big-endian mode. */
+ It exists in both little and big endian flavours and we
+ want to be able to share the installed header files between
+ both, so we define __BYTE_ORDER based on GCC's predefines. */
#ifndef _ENDIAN_H
# error "Never use <bits/endian.h> directly; include <endian.h> instead."