summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Klausner <tk@giga.or.at>2012-10-25 11:51:53 (GMT)
committerBrad King <brad.king@kitware.com>2012-10-25 11:53:32 (GMT)
commit415623581da722a1802d0dc800719bfc760733cc (patch)
tree6ae8a80fbf6aeec3029d19794c9f79f6edf33334
parentec1d35248510235483abdf1294afb96500ae910f (diff)
downloadCMake-415623581da722a1802d0dc800719bfc760733cc.zip
CMake-415623581da722a1802d0dc800719bfc760733cc.tar.gz
CMake-415623581da722a1802d0dc800719bfc760733cc.tar.bz2
KWIML: Teach ABI.h that VAX is big endian
-rw-r--r--ABI.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/ABI.h.in b/ABI.h.in
index 060a520..f93ddba 100644
--- a/ABI.h.in
+++ b/ABI.h.in
@@ -414,6 +414,10 @@ suppression macro @KWIML@_ABI_NO_VERIFY was defined.
#elif defined(__SYSC_ZARCH__)
# define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_BIG
+/* VAX */
+#elif defined(__vax__)
+# define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_BIG
+
/* Unknown CPU */
#elif !defined(@KWIML@_ABI_NO_ERROR_ENDIAN)
# error "Byte order of target CPU unknown."