summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/CPU.h.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-12-01 13:46:55 (GMT)
committerBrad King <brad.king@kitware.com>2015-12-01 13:46:55 (GMT)
commitfe05ad975292a2ff57a66746f1aa3870217f1ddd (patch)
tree6746522ac4c8c03e21384882a8232a3d9114e861 /Source/kwsys/CPU.h.in
parent2218962dbdc7f552a076978a0393433091aa35c4 (diff)
parente25f294a0e0aa03da4516d0baa488ad02cece089 (diff)
downloadCMake-fe05ad975292a2ff57a66746f1aa3870217f1ddd.zip
CMake-fe05ad975292a2ff57a66746f1aa3870217f1ddd.tar.gz
CMake-fe05ad975292a2ff57a66746f1aa3870217f1ddd.tar.bz2
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source/kwsys/CPU.h.in')
-rw-r--r--Source/kwsys/CPU.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/kwsys/CPU.h.in b/Source/kwsys/CPU.h.in
index 884d71a..66ffbb1 100644
--- a/Source/kwsys/CPU.h.in
+++ b/Source/kwsys/CPU.h.in
@@ -88,6 +88,10 @@
#elif defined(__mips) || defined(__mips__) || defined(__MIPS__)
# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG
+/* NIOS2 */
+#elif defined(__NIOS2__) || defined(__NIOS2) || defined(__nios2__)
+# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_LITTLE
+
/* OpenRISC 1000 */
#elif defined(__or1k__)
# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG