Michael S. Tsirkin b15654c21a acpi-build: fix build on glib < 2.14
g_array_get_element_size was only added in glib 2.14.
Fortunately we don't use it for any arrays where
element size is > 1, so just add an assert.

Reported-by: Richard Henderson <rth@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1385036128-8753-2-git-send-email-mst@redhat.com
Signed-off-by: Anthony Liguori <aliguori@amazon.com>
2013-11-21 07:54:03 -08:00
..
2013-11-05 19:57:46 -08:00
2013-10-31 16:58:32 +01:00
2013-11-05 19:57:47 -08:00
2013-11-05 20:01:11 -08:00
2013-07-29 21:06:57 +02:00
2013-07-29 21:07:02 +02:00
2013-11-21 07:54:03 -08:00
2013-11-05 19:57:47 -08:00
2013-10-14 17:48:52 +03:00
2013-09-03 12:31:07 -05:00
2013-07-29 21:07:01 +02:00
2013-11-05 20:04:03 -08:00
2013-08-22 19:10:27 +02:00
2013-09-03 12:31:07 -05:00