X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Finit.c;h=f1c7ffd9c297f78a313cd408a3ed079bf1af37e3;hb=d5b2ac0f473b0868014826e2c6488c72c79008f1;hp=7d97072ef0ac2b236aafdbc5019135e943632810;hpb=bb2ddcf13df18d69e4472d4697da173981970e9d;p=rocksndiamonds.git diff --git a/src/init.c b/src/init.c index 7d97072e..f1c7ffd9 100644 --- a/src/init.c +++ b/src/init.c @@ -282,7 +282,7 @@ void InitSoundServer() void InitJoysticks() { -#ifdef USE_SDL_LIBRARY +#ifdef USE_SDL_JOYSTICK static boolean sdl_joystick_subsystem_initialized = FALSE; #endif @@ -293,7 +293,7 @@ void InitJoysticks() joystick_status = JOYSTICK_OFF; -#ifdef USE_SDL_LIBRARY +#ifdef USE_SDL_JOYSTICK if (!sdl_joystick_subsystem_initialized) { @@ -333,7 +333,7 @@ void InitJoysticks() joystick_status = JOYSTICK_AVAILABLE; } -#else /* !USE_SDL_LIBRARY */ +#else /* !USE_SDL_JOYSTICK */ #ifndef MSDOS for (i=0; i