Mercurial > sdl-ios-xcode
comparison src/cdrom/dummy/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 |
---|---|
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 | 23 |
24 #if defined(SDL_CDROM_DUMMY) || defined(SDL_CDROM_DISABLED) | |
25 | |
24 /* Stub functions for system-level CD-ROM audio control */ | 26 /* Stub functions for system-level CD-ROM audio control */ |
25 | 27 |
26 #include "SDL_cdrom.h" | 28 #include "SDL_cdrom.h" |
27 #include "../SDL_syscdrom.h" | 29 #include "../SDL_syscdrom.h" |
28 | 30 |
34 void SDL_SYS_CDQuit(void) | 36 void SDL_SYS_CDQuit(void) |
35 { | 37 { |
36 return; | 38 return; |
37 } | 39 } |
38 | 40 |
41 #endif /* SDL_CDROM_DUMMY || SDL_CDROM_DISABLED */ |