summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-12-22 14:52:05 (GMT)
committerBrad King <brad.king@kitware.com>2012-12-22 14:52:05 (GMT)
commit81c0be4f00786c9498c60559d34b4f601936c5d1 (patch)
tree95d56e67c40162efa6cc1e93a76ed59f2ceaf8d0 /Source/kwsys
parent2c24ca92193f0a03fbf8c0bb13f6a1cca83dd08e (diff)
parent567e7d946788e46f9709fe08985520b55e98293b (diff)
downloadCMake-81c0be4f00786c9498c60559d34b4f601936c5d1.zip
CMake-81c0be4f00786c9498c60559d34b4f601936c5d1.tar.gz
CMake-81c0be4f00786c9498c60559d34b4f601936c5d1.tar.bz2
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source/kwsys')
-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 ecd29d1..2e1a584 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