[1mdiff --git a/src/app.c b/src/app.c[m
[1mindex 4045610e..30221582 100644[m
[1m--- a/src/app.c[m
[1m+++ b/src/app.c[m
[36m@@ -1268,7 +1268,7 @@[m [mstatic iBool nextEvent_App_(iApp *d, enum iAppEventMode eventMode, SDL_Event *ev[m
/* SDL regression circa 2.0.18? SDL_PollEvent() doesn't always return [m
events posted immediately beforehand. Waiting with a very short timeout[m
seems to work better. */[m
[31m-#if defined (iPlatformLinux)[m
[32m+[m[32m#if defined (iPlatformLinux) && SDL_VERSION_ATLEAST(2, 0, 18)[m
return SDL_WaitEventTimeout(event, 1);[m
#else[m
return SDL_PollEvent(event);[m