Mercurial > sdl-ios-xcode
comparison src/joystick/bsd/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 | 57431b199aed |
children | 782fd950bd46 c121d94672cb c5a6dcdaef04 |
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_USBHID | |
23 | 25 |
24 /* | 26 /* |
25 * Joystick driver for the uhid(4) interface found in OpenBSD, | 27 * Joystick driver for the uhid(4) interface found in OpenBSD, |
26 * NetBSD and FreeBSD. | 28 * NetBSD and FreeBSD. |
27 * | 29 * |
573 SDL_free(r->buf); | 575 SDL_free(r->buf); |
574 } | 576 } |
575 r->status = SREPORT_UNINIT; | 577 r->status = SREPORT_UNINIT; |
576 } | 578 } |
577 | 579 |
580 #endif /* SDL_JOYSTICK_USBHID */ |