You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
613 B
18 lines
613 B
16 years ago
|
--- cmake-2.6.0.orig/Source/kwsys/CPU.h.in
|
||
|
+++ cmake-2.6.0/Source/kwsys/CPU.h.in
|
||
|
@@ -28,6 +28,14 @@
|
||
|
#elif defined(__BIG_ENDIAN__)
|
||
|
# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG
|
||
|
|
||
|
+/* Arm */
|
||
|
+#elif defined(__arm__)
|
||
|
+# if !defined(__ARMEB__)
|
||
|
+# 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
|
||
|
+
|
||
|
/* Alpha */
|
||
|
#elif defined(__alpha) || defined(__alpha__) || defined(_M_ALPHA)
|
||
|
# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_LITTLE
|