diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-04-14 16:09:26 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-05-04 14:15:34 +0200 |
commit | 62cbfdd2c51d95b70caea783daa67273d9ba55a8 (patch) | |
tree | cb654d8452fb7cacbefd4a13f3fa38c632902011 /util | |
parent | e93d8bcf9dbd5b8dd3b9ddbb1ece6a37e608f300 (diff) |
oslib-win32: do not rely on macro to get redefined function name
On Windows with glib <2.50, g_poll is redefined to use the variant
defined in util/oslib-win32.c. Use the same name in the declaration
and definition for ease of grepping.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util')
-rw-r--r-- | util/oslib-win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/oslib-win32.c b/util/oslib-win32.c index f68b8012bb..13418f68c0 100644 --- a/util/oslib-win32.c +++ b/util/oslib-win32.c @@ -472,7 +472,7 @@ static int poll_rest(gboolean poll_msgs, HANDLE *handles, gint nhandles, return 0; } -gint g_poll(GPollFD *fds, guint nfds, gint timeout) +gint g_poll_fixed(GPollFD *fds, guint nfds, gint timeout) { HANDLE handles[MAXIMUM_WAIT_OBJECTS]; gboolean poll_msgs = FALSE; |