mirror of https://github.com/encounter/SDL.git
Fixed bug 4003 - HAVE_POLL undefined in SDL_poll.c, making it impossible to use.
tomwardio 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.
This commit is contained in:
parent
b92e2f027a
commit
70082db849
|
@ -24,7 +24,6 @@
|
||||||
#include "SDL_assert.h"
|
#include "SDL_assert.h"
|
||||||
#include "SDL_poll.h"
|
#include "SDL_poll.h"
|
||||||
|
|
||||||
#undef HAVE_POLL
|
|
||||||
#ifdef HAVE_POLL
|
#ifdef HAVE_POLL
|
||||||
#include <poll.h>
|
#include <poll.h>
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue