comparison src/cdrom/macosx/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 dc6b59e925a2
children 14717b52abc0
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_MACOSX
23 25
24 #include "SDL_syscdrom_c.h" 26 #include "SDL_syscdrom_c.h"
25 27
26 #pragma mark -- Globals -- 28 #pragma mark -- Globals --
27 29
500 { 502 {
501 currentDrive = -1; 503 currentDrive = -1;
502 return; 504 return;
503 } 505 }
504 506
507 #endif /* SDL_CDROM_MACOSX */