summaryrefslogtreecommitdiff
path: root/Utilities/KWIML
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-11-30 10:18:24 -0500
committerBrad King <brad.king@kitware.com>2015-11-30 10:18:24 -0500
commit58c1840a193d8cc5e0fca3e8300b6f9d93c3aeb1 (patch)
treeb717c2b1f7441457c8627292dbcd4046447e2315 /Utilities/KWIML
parent99533c8e345c627f5f5a98be5cda7b7624756fb9 (diff)
parenteec87ec8a77550af5b39b95bead1d4be6a802637 (diff)
downloadcmake-58c1840a193d8cc5e0fca3e8300b6f9d93c3aeb1.tar.gz
Merge branch 'upstream-kwiml' into update-kwiml
Diffstat (limited to 'Utilities/KWIML')
-rw-r--r--Utilities/KWIML/ABI.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/KWIML/ABI.h.in b/Utilities/KWIML/ABI.h.in
index 6300ada4e4..87b6e96dac 100644
--- a/Utilities/KWIML/ABI.h.in
+++ b/Utilities/KWIML/ABI.h.in
@@ -398,6 +398,10 @@ suppression macro @KWIML@_ABI_NO_VERIFY was defined.
#elif defined(__mips) || defined(__mips__) || defined(__MIPS__)
# define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_BIG
+/* NIOS2 */
+#elif defined(__NIOS2__) || defined(__NIOS2) || defined(__nios2__)
+# define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_LITTLE
+
/* OpenRISC 1000 */
#elif defined(__or1k__)
# define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_BIG