summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-12-22 09:52:05 -0500
committerBrad King <brad.king@kitware.com>2012-12-22 09:52:05 -0500
commit81c0be4f00786c9498c60559d34b4f601936c5d1 (patch)
tree95d56e67c40162efa6cc1e93a76ed59f2ceaf8d0 /Source
parent2c24ca92193f0a03fbf8c0bb13f6a1cca83dd08e (diff)
parent567e7d946788e46f9709fe08985520b55e98293b (diff)
downloadcmake-81c0be4f00786c9498c60559d34b4f601936c5d1.tar.gz
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/CPU.h.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/kwsys/CPU.h.in b/Source/kwsys/CPU.h.in
index ecd29d1338..2e1a584b18 100644
--- a/Source/kwsys/CPU.h.in
+++ b/Source/kwsys/CPU.h.in
@@ -98,6 +98,14 @@
#elif defined(__SYSC_ZARCH__)
# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG
+/* Aarch64 */
+#elif defined(__aarch64__)
+# if !defined(__AARCH64EB__)
+# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_LITTLE
+# else
+# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG
+# endif
+
/* Unknown CPU */
#else
# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID 0