]> git.proxmox.com Git - qemu.git/commit
acpi-build: fix support for glib < 2.22
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 25 Nov 2013 22:00:39 +0000 (00:00 +0200)
committerAnthony Liguori <aliguori@amazon.com>
Tue, 26 Nov 2013 04:35:08 +0000 (20:35 -0800)
commit134d42d614768b2803e551621f6654dab1fdc2d2
tree098fead975ac186ddfb129b43a686b55ee0680e1
parentc0caec178eadbbac4c672110c3914313091e0588
acpi-build: fix support for glib < 2.22

glib < 2.22 does not have g_array_get_element_size,
limit it's use (to check all elements are 1 byte
in size) to newer glib.

This fixes build on RHEL 5.3.

Reported-by: Richard Henderson <rth@redhat.com>
Reported-by: Erik Rull <erik.rull@rdsoftware.de>
Tested-by: Richard Henderson <rth@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20131125220039.GA16386@redhat.com
Signed-off-by: Anthony Liguori <aliguori@amazon.com>
hw/i386/acpi-build.c