osdep: poison HOST_WORDS_BIGENDIAN
PATCH 11/27 osdep: poison HOST_WORDS_BIGENDIAN
From: Marc-André Lureau <[email protected]>
Signed-off-by Marc-André Lureau <[email protected]>
Suggested-by Richard Henderson <[email protected]>
--- include/qemu/osdep.h | 6 ++++++ 1 file changed, 6 insertions(+)
include/qemu/osdep.h +6 -0
@@ -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
Signature · 1 line
2.35.1.273.ge6ebfd0e8cbb
Quoted 15 lines · On 16/3/22 10:53, [email protected] wrote:
From: Marc-André Lureau <[email protected]>
Signed-off-by Marc-André Lureau <[email protected]>Suggested-by Richard Henderson <[email protected]>--- include/qemu/osdep.h | 6 ++++++ 1 file changed, 6 insertions(+)include/qemu/osdep.h +0
-0@@ -34,6 +34,12 @@#include "exec/poison.h" #endif
include/qemu/osdep.h line 45
Quoted 10 lines
include/qemu/osdep.h +6
-0+/* +* 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é <[email protected]>