浏览代码

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 8 年之前
父节点
当前提交
70082db849
共有 1 个文件被更改,包括 0 次插入1 次删除
  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