diff options
author | Brad King <brad.king@kitware.com> | 2015-12-02 13:41:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-12-02 13:41:25 (GMT) |
commit | 7cb630809db87dcce4e4d10596a5bb3d878662e2 (patch) | |
tree | aecf82374bb23cdd7b0aacf3906c9daf18cf4659 /Source | |
parent | 535760ccb954dda78cc5c23c9e75245e7529c481 (diff) | |
parent | f2ca704cbb0722da8f43b1f99b07e6fac32dc0f6 (diff) | |
download | CMake-7cb630809db87dcce4e4d10596a5bb3d878662e2.zip CMake-7cb630809db87dcce4e4d10596a5bb3d878662e2.tar.gz CMake-7cb630809db87dcce4e4d10596a5bb3d878662e2.tar.bz2 |
Merge branch 'backport-NIOS2-CPU' into release
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/CPU.h.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/kwsys/CPU.h.in b/Source/kwsys/CPU.h.in index 884d71a..66ffbb1 100644 --- a/Source/kwsys/CPU.h.in +++ b/Source/kwsys/CPU.h.in @@ -88,6 +88,10 @@ #elif defined(__mips) || defined(__mips__) || defined(__MIPS__) # define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG +/* NIOS2 */ +#elif defined(__NIOS2__) || defined(__NIOS2) || defined(__nios2__) +# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_LITTLE + /* OpenRISC 1000 */ #elif defined(__or1k__) # define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG |