Mercurial > sdl-ios-xcode
comparison src/cdrom/bsdi/SDL_syscdrom.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 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_CDROM_BSDI | |
23 | 25 |
24 /* | 26 /* |
25 * Functions for system-level CD-ROM audio control for BSD/OS 4.x | 27 * Functions for system-level CD-ROM audio control for BSD/OS 4.x |
26 * This started life out as a copy of the freebsd/SDL_cdrom.c file but was | 28 * This started life out as a copy of the freebsd/SDL_cdrom.c file but was |
27 * heavily modified. Works for standard (MMC) SCSI and ATAPI CDrom drives. | 29 * heavily modified. Works for standard (MMC) SCSI and ATAPI CDrom drives. |
534 SDL_free(SDL_cdlist[i]); | 536 SDL_free(SDL_cdlist[i]); |
535 } | 537 } |
536 } | 538 } |
537 SDL_numcds = 0; | 539 SDL_numcds = 0; |
538 } | 540 } |
541 | |
542 #endif /* SDL_CDROM_BSDI */ |