qemu/include/ui
Marc-André Lureau e03b56863d Replace config-time define HOST_WORDS_BIGENDIAN
Replace a config-time define with a compile time condition
define (compatible with clang and gcc) that must be declared prior to
its usage. This avoids having a global configure time define, but also
prevents from bad usage, if the config header wasn't included before.

This can help to make some code independent from qemu too.

gcc supports __BYTE_ORDER__ from about 4.6 and clang from 3.2.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
[ For the s390x parts I'm involved in ]
Acked-by: Halil Pasic <pasic@linux.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220323155743.1585078-7-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-04-06 10:50:37 +02:00
..
clipboard.h ui/clipboard: add a clipboard reset serial event 2021-12-21 10:50:21 +04:00
console.h ui/dbus: fix texture sharing 2022-03-15 12:54:55 +04:00
dbus-display.h ui/dbus: add p2p=on/off option 2021-12-21 10:50:22 +04:00
dbus-module.h ui/dbus: add p2p=on/off option 2021-12-21 10:50:22 +04:00
egl-context.h ui: split the GL context in a different object 2021-12-21 10:50:21 +04:00
egl-helpers.h ui: Create sync objects and fences only for blobs 2021-09-15 08:41:59 +02:00
gtk.h ui: split the GL context in a different object 2021-12-21 10:50:21 +04:00
input.h include: Make headers more self-contained 2019-08-16 13:31:51 +02:00
kbd-state.h
pixel_ops.h
qemu-pixman.h Replace config-time define HOST_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
qemu-spice-module.h spice: wire up monitor in QemuSpiceOps. 2020-10-21 15:46:14 +02:00
qemu-spice.h spice: Update QXLInterface for spice >= 0.15.0 2022-01-18 16:42:41 +00:00
sdl2.h ui: avoid warnings about directdb on Alpine / musl libc 2022-01-18 16:42:41 +00:00
shader.h
spice-display.h ui: move qemu_spice_fill_device_address to ui/util.c 2021-12-21 10:50:21 +04:00
win32-kbd-hook.h ui/win32-kbd-hook: handle AltGr in a hook procedure 2020-05-19 09:06:44 +02:00