export g_poll to support poll/select logic on windows
I found g_poll function in the glib/gpoll.h, it provide a replacement for Posix poll/select on windowss, but it seems that not yet expose it.
use g_poll function in vala module:
[CCode (cheader_filename="glib.h")]
extern int g_poll(PollFD[] fds, int timeout);
[3/3] Linking target meson-out/kangaroo.exe.
FAILED: meson-out/kangaroo.exe
cc @meson-out/kangaroo.exe.rsp
C:/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: meson-out/25a6634@@kangaroo@exe/meson-generated_Illuminate_Supports_Network_tunnel.c.obj: in function `kangaroo_illuminate_supports_network_ssh_tunnel_forward_tunnel_stream':
D:\Codelabs\GitHub\kangaroo\build/../src/Illuminate/Supports/Network/tunnel.vala:333: undefined reference to `kangaroo_illuminate_supports_network_g_poll'
collect2.exe: error: ld returned 1 exit status
Edited by TAO ZUHONG