| Summary: | [PATCH] HAVE_POLL undefined in SDL_poll.c, making it impossible to use. | ||
|---|---|---|---|
| Product: | SDL | Reporter: | tomwardio |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 2.0.7 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Attachments: | Patch to remove #undef | ||
Thanks! I think this was disabled for debugging a while back. Good catch! https://hg.libsdl.org/SDL/rev/c7577c45151a |
Created attachment 3114 [details] Patch to remove #undef HAVE_POLL is correctly defined in SDL_config.h when running configure. However, in the only place where it's used, it's undefined at the start of the file. The attached patch removes this undefine, allowing for use of poll().