]> git.proxmox.com Git - mirror_qemu.git/commit - include/glib-compat.h
glib: add compatibility interface for g_strcmp0()
authorGonglei <arei.gonglei@huawei.com>
Thu, 16 Oct 2014 10:59:37 +0000 (18:59 +0800)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 16 Oct 2014 22:02:31 +0000 (23:02 +0100)
commit5f77ef69a195098baddfdc6d189f1b4a94587378
tree841f241d6cee4a86cf76401878094cb8edaf3ccf
parent8a2c26362426a7698c344ecbd13fc96e0d590e22
glib: add compatibility interface for g_strcmp0()

This patch fixes compilation errors when building against glib < 2.16.0
due to the missing g_strcmp0() function.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Message-id: 1413457177-10132-1-git-send-email-arei.gonglei@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
include/glib-compat.h