diff options
author | Brad King <brad.king@kitware.com> | 2012-12-22 09:52:05 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-12-22 09:52:05 -0500 |
commit | 81c0be4f00786c9498c60559d34b4f601936c5d1 (patch) | |
tree | 95d56e67c40162efa6cc1e93a76ed59f2ceaf8d0 /Source | |
parent | 2c24ca92193f0a03fbf8c0bb13f6a1cca83dd08e (diff) | |
parent | 567e7d946788e46f9709fe08985520b55e98293b (diff) | |
download | cmake-81c0be4f00786c9498c60559d34b4f601936c5d1.tar.gz |
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/CPU.h.in | 8 |
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 |