aboutsummaryrefslogtreecommitdiff
path: root/xen-hvm-stub.c
diff options
context:
space:
mode:
authorSascha Silbe <silbe@linux.vnet.ibm.com>2016-08-18 20:46:02 +0200
committerPeter Maydell <peter.maydell@linaro.org>2016-08-19 12:42:40 +0100
commit50455700092412d90ffaf57ee5d00f38f7d1cc5b (patch)
tree6a89caa1d4e3a47259a2a89007e6217d60caec8d /xen-hvm-stub.c
parent60c6b790fc5dc26418dca42a77bab925ca7bac60 (diff)
downloadqemu-50455700092412d90ffaf57ee5d00f38f7d1cc5b.zip
qemu-50455700092412d90ffaf57ee5d00f38f7d1cc5b.tar.gz
qemu-50455700092412d90ffaf57ee5d00f38f7d1cc5b.tar.bz2
glib: add compatibility implementation for g_dir_make_tmp()
We're going to make use of g_dir_make_tmp() in test-logging. Provide a compatibility implementation of it for glib < 2.30. May behave differently in some edge cases (e.g. pattern only at the end of the template, the file name is not part of the error message), but good enough in practice. Signed-off-by: Sascha Silbe <silbe@linux.vnet.ibm.com> Message-id: 1471545963-11720-2-git-send-email-silbe@linux.vnet.ibm.com [PMM: removed variable "template" which caused compilation failures when C++ files include glib-compat.h] Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'xen-hvm-stub.c')
0 files changed, 0 insertions, 0 deletions