]> git.proxmox.com Git - mirror_qemu.git/commit
bsd-user: Move PRAGMA_DISABLE_PACKED_WARNING etc to qemu.h
authorWarner Losh <imp@bsdimp.com>
Wed, 30 Aug 2023 14:44:01 +0000 (08:44 -0600)
committerWarner Losh <imp@bsdimp.com>
Wed, 30 Aug 2023 14:57:08 +0000 (08:57 -0600)
commit8a45962be33d4f7449567f8b9e07c724733ca303
tree326fa2e873cba9495d5cde4a96f29f6f7478b643
parent813bac3d8d70d85cb7835f7945eb9eed84c2d8d0
bsd-user: Move PRAGMA_DISABLE_PACKED_WARNING etc to qemu.h

For the moment, move PRAGMA_DISABLE_PACKED_WARNING and
PRAGMA_ENABLE_PACKED_WARNING back to bsd-user/qemu.h.

Of course, these should be in compiler.h, but that interferes with too
many things at the moment, so take one step back to unbreak clang
linux-user builds first. Use the exact same version that's in
linux-user/qemu.h since that's what should be in compiler.h.

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
bsd-user/qemu.h
include/qemu/compiler.h