Browse Source

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.
Sam Lantinga 7 years ago
parent
commit
70082db849
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/core/unix/SDL_poll.c

+ 0 - 1
src/core/unix/SDL_poll.c

@@ -24,7 +24,6 @@
 #include "SDL_assert.h"
 #include "SDL_poll.h"
 
-#undef HAVE_POLL
 #ifdef HAVE_POLL
 #include <poll.h>
 #else