Mercurial > sdl-ios-xcode
comparison src/joystick/os2/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 | e3242177fe4a |
children | 782fd950bd46 c121d94672cb a1b03ba2fcd0 |
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_OS2 | |
23 | 25 |
24 /* OS/2 Joystick driver, contributed by Daniel Caetano */ | 26 /* OS/2 Joystick driver, contributed by Daniel Caetano */ |
25 | 27 |
26 #include <mem.h> | 28 #include <mem.h> |
27 | 29 |
661 } | 663 } |
662 *nameptr = 0; /* Mark last byte */ | 664 *nameptr = 0; /* Mark last byte */ |
663 return chcnt; | 665 return chcnt; |
664 } | 666 } |
665 | 667 |
666 | 668 #endif /* SDL_JOYSTICK_OS2 */ |