check_func_headers() defines a main() function, which clashes with a
redefinition done by said SDL header. Check for SDL_PollEvent using
SDL_events.h only instead, where the redefinition doesn't happen.
Fixes a regression since d03c39b46b
.
Tested-by: RiCON
Signed-off-by: James Almer <jamrial@gmail.com>
pull/304/head
parent
d38a223943
commit
32f85056b3
1 changed files with 3 additions and 5 deletions
Loading…
Reference in new issue