]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
aml-build: fix build for glib < 2.22
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 3 Mar 2015 16:40:45 +0000 (17:40 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 3 Mar 2015 16:42:18 +0000 (17:42 +0100)
commit2e5feadbf8133b9b108919a2f576943b448a1a06
treec95dc7e9bf81e34515e4ff60d21c1c2497edd3dd
parent48ce35b7645154eff6b685b3178aacf33f2ff871
aml-build: fix build for glib < 2.22

g_ptr_array_new_with_free_func is there since glib 2.22,
use the older g_ptr_array_foreach instead.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/aml-build.c