git-commit-vandalism/compat/poll
Johannes Schindelin 8d4679fe09 poll (mingw): allow compiling with GCC 8 and DEVELOPER=1
The return type of the `GetProcAddress()` function is `FARPROC` which
evaluates to `long long int (*)()`, i.e. it cannot be cast to the
correct function signature by GCC 8.

To work around that, we first cast to `void *` and go on with our merry
lives.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2019-06-13 09:34:16 -07:00
..
poll.c poll (mingw): allow compiling with GCC 8 and DEVELOPER=1 2019-06-13 09:34:16 -07:00
poll.h compat/poll: prepare for targeting Windows Vista 2018-10-04 05:39:56 -07:00