diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-22 11:35:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:15 +0300 |
commit | 07390a4c8dcde85602c1a91d3773061d67d169ab (patch) | |
tree | 2128313bf3f5612d036cc35d71b2867b276b54e2 /src/sdlshared.h | |
parent | 89f6264172de327a53db26cdc15b475ca3c7e62e (diff) | |
download | mv-07390a4c8dcde85602c1a91d3773061d67d169ab.tar.gz mv-07390a4c8dcde85602c1a91d3773061d67d169ab.tar.bz2 mv-07390a4c8dcde85602c1a91d3773061d67d169ab.tar.xz mv-07390a4c8dcde85602c1a91d3773061d67d169ab.zip |
add some more fixes for SDL2 compilation.
Diffstat (limited to 'src/sdlshared.h')
-rw-r--r-- | src/sdlshared.h | 10 |
1 files changed, 7 insertions, 3 deletions
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 |