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