summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-05-13 12:29:21 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-13 12:29:21 (GMT)
commitc9709dffb0856c140f39c5db1525bccc74771c92 (patch)
tree385e9699bd3af0c6b91b3e7b9a9b0778e81c736e /Source
parenta6a9710fca291a96d01d848bd1aee8233beacf6b (diff)
parent3b815ed283eb8d59c4e46dd89aa1e17c9f4deee6 (diff)
downloadCMake-c9709dffb0856c140f39c5db1525bccc74771c92.zip
CMake-c9709dffb0856c140f39c5db1525bccc74771c92.tar.gz
CMake-c9709dffb0856c140f39c5db1525bccc74771c92.tar.bz2
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/CPU.h.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/kwsys/CPU.h.in b/Source/kwsys/CPU.h.in
index 626914b..884d71a 100644
--- a/Source/kwsys/CPU.h.in
+++ b/Source/kwsys/CPU.h.in
@@ -76,7 +76,15 @@
#elif defined(__m68k__) || defined(M68000)
# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG
-/* MIPS */
+/* MIPSel (MIPS little endian) */
+#elif defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL)
+# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_LITTLE
+
+/* MIPSeb (MIPS big endian) */
+#elif defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB)
+# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG
+
+/* MIPS (fallback, big endian) */
#elif defined(__mips) || defined(__mips__) || defined(__MIPS__)
# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG