comparison src/joystick/amigaos/SDL_sysjoystick.c @ 1635:92947e3a18db

Make sure code is only compiled if the appropriate subsystem is enabled
author Sam Lantinga <slouken@libsdl.org>
date Fri, 14 Apr 2006 04:46:47 +0000
parents d910939febfa
children 782fd950bd46 c121d94672cb
comparison
equal deleted inserted replaced
1634:14f302c5b32c 1635:92947e3a18db
18 18
19 Sam Lantinga 19 Sam Lantinga
20 slouken@libsdl.org 20 slouken@libsdl.org
21 */ 21 */
22 #include "SDL_config.h" 22 #include "SDL_config.h"
23
24 #ifdef SDL_JOYSTICK_AMIGA
23 25
24 /* This is the system specific header for the SDL joystick API */ 26 /* This is the system specific header for the SDL joystick API */
25 27
26 #include <libraries/lowlevel.h> 28 #include <libraries/lowlevel.h>
27 #if defined(__SASC) || defined(STORMC4_WOS) 29 #if defined(__SASC) || defined(STORMC4_WOS)
223 { 225 {
224 CloseLibrary(LowLevelBase); 226 CloseLibrary(LowLevelBase);
225 LowLevelBase=NULL; 227 LowLevelBase=NULL;
226 SDL_numjoysticks=0; 228 SDL_numjoysticks=0;
227 } 229 }
228
229 return; 230 return;
230 } 231 }
231 232
233 #endif /* SDL_JOYSTICK_AMIGA */