[Commits] SDL: Fixed bug 4003 - HAVE_POLL undefined in SDL_poll.c, making ...

libsdl.org revision control commits-owner at libsdl.org
Tue Dec 19 11:14:09 PST 2017


details:   https://hg.libsdl.org/SDL/rev/c7577c45151a
changeset: 11783:c7577c45151a
user:      Sam Lantinga <slouken at libsdl.org>
date:      Tue Dec 19 11:14:06 2017 -0800
description:
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.

diffstat:

 src/core/unix/SDL_poll.c |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r 98ea6e4c0d68 -r c7577c45151a src/core/unix/SDL_poll.c
--- a/src/core/unix/SDL_poll.c	Tue Dec 19 10:57:21 2017 -0800
+++ b/src/core/unix/SDL_poll.c	Tue Dec 19 11:14:06 2017 -0800
@@ -24,7 +24,6 @@
 #include "SDL_assert.h"
 #include "SDL_poll.h"
 
-#undef HAVE_POLL
 #ifdef HAVE_POLL
 #include <poll.h>
 #else


More information about the commits mailing list