summaryrefslogtreecommitdiff
path: root/src/sdlshared.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-06 14:49:47 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-06 14:49:47 +0300
commitc649cf883480071c9b93909c4ea4ee5ec98155b2 (patch)
tree71022fd2db59c643c19c78c5524ffcd038e35a7f /src/sdlshared.h
parent4cab6fc78e19799f223d951d5ccc9afb303b65f2 (diff)
downloadmv-c649cf883480071c9b93909c4ea4ee5ec98155b2.tar.gz
mv-c649cf883480071c9b93909c4ea4ee5ec98155b2.tar.bz2
mv-c649cf883480071c9b93909c4ea4ee5ec98155b2.tar.xz
mv-c649cf883480071c9b93909c4ea4ee5ec98155b2.zip
Remove some duplicate code.
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