From ed8f30d42199a7ff50e66b0b30e7ee8a628e9f0b Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Fri, 15 Sep 2017 11:38:25 +0300 Subject: [PATCH] macros.h: added e2k detection Elbrus 2000 is a little-endian architecture. Acked-by: Frediano Ziglio --- spice/macros.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spice/macros.h b/spice/macros.h index 1f8a5c8..f703a76 100644 --- a/spice/macros.h +++ b/spice/macros.h @@ -404,7 +404,8 @@ # if defined(__LITTLE_ENDIAN__) || defined(__ARMEL__) \ || defined(__THUMBEL__) || defined(__AARCH64EL__) \ || defined(_MIPSEL) || defined(__MIPSEL) || defined(__MIPSEL__) \ - || defined(__amd64__) || defined(__x86_64__) || defined(__i386__) + || defined(__amd64__) || defined(__x86_64__) || defined(__i386__) \ + || defined(__e2k__) # define SPICE_ENDIAN SPICE_ENDIAN_LITTLE # endif # if defined(__BIG_ENDIAN__) || defined(__ARMEB__) \