summaryrefslogtreecommitdiff
path: root/src/sdlshared.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdlshared.h')
-rw-r--r--src/sdlshared.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sdlshared.h b/src/sdlshared.h
index a011045bc..295cb29e7 100644
--- a/src/sdlshared.h
+++ b/src/sdlshared.h
@@ -59,6 +59,7 @@
#define SDL_Window SDL_Surface
#define SDL_JoystickNameForIndex SDL_JoystickName
#define SurfaceImageHelper SDLImageHelper
+#define SDL_WaitEventTimeout(event, time) SDL_PollEvent(event)
#endif // USE_SDL2