vhost-user-test: do not reinvent glib-compat.h
commitca06d9cc6691e23b6d02e07b44ea549aeac60151
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 29 Sep 2015 12:12:03 +0000 (29 14:12 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 2 Oct 2015 14:04:31 +0000 (2 17:04 +0300)
tree7314a896f373d57cbeaf159cd8dd4dbbbb47ebfd
parent0d583647a7fc73f621eeb64ed703556c4bbebfcc
vhost-user-test: do not reinvent glib-compat.h

glib-compat.h has the gunk to support both old-style and new-style
gthread functions.  Use it instead of reinventing it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Tested-by: Marc-André Lureau <marcandre.lureau@redhat.com>
tests/vhost-user-test.c