[Spice-commits] 2 commits - spice/macros.h
Frediano Ziglio
fziglio at kemper.freedesktop.org
Fri Sep 15 17:47:54 UTC 2017
spice/macros.h | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
New commits:
commit 6795f4edfd7c7bf896aa689352616bd4a7e17a0a
Author: Michael Shigorin <mike at altlinux.org>
Date: Fri Sep 15 11:39:34 2017 +0300
macros.h: s/endianess/endianness/g
A three-time typo, obviously :)
Acked-by: Frediano Ziglio <fziglio at redhat.com>
diff --git a/spice/macros.h b/spice/macros.h
index f703a76..79d00ee 100644
--- a/spice/macros.h
+++ b/spice/macros.h
@@ -379,7 +379,7 @@
#endif /* generic */
-/* detect endianess */
+/* detect endianness */
#undef SPICE_ENDIAN
#define SPICE_ENDIAN_LITTLE 4321
#define SPICE_ENDIAN_BIG 1234
@@ -428,11 +428,11 @@
#endif
#if !defined(SPICE_ENDIAN)
-#error Unable to detect processor endianess
+#error Unable to detect processor endianness
#endif
#if SPICE_ENDIAN == SPICE_ENDIAN_PDP
-#error PDP endianess not supported by Spice
+#error PDP endianness not supported by Spice
#endif
commit ed8f30d42199a7ff50e66b0b30e7ee8a628e9f0b
Author: Michael Shigorin <mike at altlinux.org>
Date: Fri Sep 15 11:38:25 2017 +0300
macros.h: added e2k detection
Elbrus 2000 is a little-endian architecture.
Acked-by: Frediano Ziglio <fziglio at redhat.com>
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__) \
More information about the Spice-commits
mailing list