Skip to content

Commit

Permalink
Remove checking the poll interface in gtimer on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
matlo committed Oct 23, 2016
1 parent 757a9a1 commit f7cc504
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions shared/gasync/src/timer/windows/timerres.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,8 @@ int timerres_begin(const GPOLL_INTERFACE * poll_interface, TIMERRES_CALLBACK tim
CHECK_FUNCTION (poll_interface->fp_remove)
CHECK_FUNCTION (timer_cb)

if (fp_register != NULL && poll_interface->fp_register != fp_register) {
PRINT_ERROR_OTHER("timers do not support multiple poll interfaces on Windows")
return -1;
}
// TODO MLA: warn if register / remove functions change
// on Windows function pointers to gpoll_register/remove inside and outside the dll do not match.

int ret = 0;

Expand Down

0 comments on commit f7cc504

Please sign in to comment.