From 07390a4c8dcde85602c1a91d3773061d67d169ab Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 22 Aug 2013 11:35:54 +0300 Subject: add some more fixes for SDL2 compilation. --- src/sdlshared.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/sdlshared.h') diff --git a/src/sdlshared.h b/src/sdlshared.h index 840283688..d06040220 100644 --- a/src/sdlshared.h +++ b/src/sdlshared.h @@ -50,11 +50,15 @@ #define SDLK_PRINT SDLK_PRINTSCREEN #define SDLK_NUMLOCK SDLK_NUMLOCKCLEAR #define SDLK_SCROLLOCK SDLK_SCROLLLOCK +#define SDLK_LAST SDL_NUM_SCANCODES -#else +#define SDL_DEFAULT_REPEAT_DELAY 500 + +#else // USE_SDL2 #define SDL_Window SDL_Surface +#define SDL_JoystickNameForIndex SDL_JoystickName -#endif +#endif // USE_SDL2 -#endif +#endif // SDLSHARED_H -- cgit v1.2.3-70-g09d2