]> git.ipfire.org Git - thirdparty/qemu.git/commit
qga: replace usleep() with g_usleep()
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 20 Apr 2022 13:25:54 +0000 (17:25 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 21 Apr 2022 13:03:51 +0000 (17:03 +0400)
commit4e8c41947b0eb5a96e940aa1be8ff71abb46d33f
treefafbb33d5620435babdfbdf3a72e9a50d35e6a67
parent49f95221935db33a3636888860f5006070e09dc8
qga: replace usleep() with g_usleep()

The latter simply requires glib.h, while the former is not in the
Windows API (but provided by mingw header & CRT)

Also simplify the expression for 1/10s.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220420132624.2439741-12-marcandre.lureau@redhat.com>
qga/main.c