]> git.proxmox.com Git - mirror_qemu.git/commit
osdep: fix HAVE_BROKEN_SIZE_MAX case
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 7 Jul 2021 10:48:17 +0000 (12:48 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 9 Jul 2021 16:19:00 +0000 (18:19 +0200)
commit7db492a1b65699ee6384874844cb87ff7200a811
tree04045e4934e6fed6e4cce8b9bd87d6bf8e8bdf0b
parent63a7f853063133fd1aa34ab0744b009fa3d7e183
osdep: fix HAVE_BROKEN_SIZE_MAX case

While config-host.mak entries are expanded to "1" for compatibility with
create-config.sh, tests done directly in meson.build expand to the empty
string and cannot be placed to the right of the && operator.  Adjust
osdep.h after commit e46bd55d9c ("configure: convert HAVE_BROKEN_SIZE_MAX
to meson", 2021-07-06) changed the way HAVE_BROKEN_SIZE_MAX is defined.

Reported-by: Frederic Bezies <fredbezies@gmail.com>
Fixes: e46bd55d9c ("configure: convert HAVE_BROKEN_SIZE_MAX to meson", 2021-07-06)
Resolves: #463
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/qemu/osdep.h