On 16/3/22 10:53, marcandre.lur...@redhat.com wrote:
From: Marc-André Lureau <marcandre.lur...@redhat.com>

Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
Suggested-by: Richard Henderson <richard.hender...@linaro.org>
---
  include/qemu/osdep.h | 6 ++++++
  1 file changed, 6 insertions(+)

diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h
index 322103aadbdc..7175ee53a217 100644
--- a/include/qemu/osdep.h
+++ b/include/qemu/osdep.h
@@ -34,6 +34,12 @@
  #include "exec/poison.h"
  #endif
+/*
+ * HOST_WORDS_BIGENDIAN was replaced with HOST_BIG_ENDIAN. Prevent it from
+ * creeping back in.
+ */
+#pragma GCC poison HOST_WORDS_BIGENDIAN
+
  #include "qemu/compiler.h"
/* Older versions of C++ don't get definitions of various macros from

Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>


Reply via email to