oslib-win32: do not rely on macro to get redefined function name
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 14 Apr 2021 14:09:26 +0000 (16:09 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 4 May 2021 12:15:34 +0000 (14:15 +0200)
commit62cbfdd2c51d95b70caea783daa67273d9ba55a8
treecb654d8452fb7cacbefd4a13f3fa38c632902011
parente93d8bcf9dbd5b8dd3b9ddbb1ece6a37e608f300
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>
util/oslib-win32.c