summaryrefslogtreecommitdiff
path: root/sysdeps/mips/p40/bits/endian.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mips/p40/bits/endian.h')
-rw-r--r--sysdeps/mips/p40/bits/endian.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/mips/p40/bits/endian.h b/sysdeps/mips/p40/bits/endian.h
new file mode 100644
index 0000000000..e4b0119433
--- /dev/null
+++ b/sysdeps/mips/p40/bits/endian.h
@@ -0,0 +1,4 @@
+/* The MIPS has selectable endianness.
+ The Japanese homebrew P40 architecture uses big-endian mode. */
+
+#define __BYTE_ORDER __BIG_ENDIAN