summaryrefslogtreecommitdiffstats
path: root/Utilities/KWIML
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-12-21 13:32:56 (GMT)
committerBrad King <brad.king@kitware.com>2012-12-21 13:32:56 (GMT)
commit2ce327892f098614a2830886b6a94c92f1a4f54b (patch)
tree39b8b238a720e67bbe881f10ceeccb5405448825 /Utilities/KWIML
parent0d3b89ed7634598ef446da6b279f79b8bce20dd2 (diff)
parent349165223d26f0ffc5ad004b4a05a8a92121ac20 (diff)
downloadCMake-2ce327892f098614a2830886b6a94c92f1a4f54b.zip
CMake-2ce327892f098614a2830886b6a94c92f1a4f54b.tar.gz
CMake-2ce327892f098614a2830886b6a94c92f1a4f54b.tar.bz2
Merge branch 'upstream-kwiml' into update-KWIML
Diffstat (limited to 'Utilities/KWIML')
-rw-r--r--Utilities/KWIML/ABI.h.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/Utilities/KWIML/ABI.h.in b/Utilities/KWIML/ABI.h.in
index f93ddba..7f4772a 100644
--- a/Utilities/KWIML/ABI.h.in
+++ b/Utilities/KWIML/ABI.h.in
@@ -418,6 +418,14 @@ suppression macro @KWIML@_ABI_NO_VERIFY was defined.
#elif defined(__vax__)
# define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_BIG
+/* Aarch64 */
+#elif defined(__aarch64__)
+# if !defined(__AARCH64EB__)
+# define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_LITTLE
+# else
+# define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_BIG
+# endif
+
/* Unknown CPU */
#elif !defined(@KWIML@_ABI_NO_ERROR_ENDIAN)
# error "Byte order of target CPU unknown."