comparison src/cdrom/mint/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_MINT
23 25
24 /* 26 /*
25 Atari MetaDOS CD-ROM functions 27 Atari MetaDOS CD-ROM functions
26 28
27 Patrice Mandin 29 Patrice Mandin
309 /* Eject the CD-ROM */ 311 /* Eject the CD-ROM */
310 static int SDL_SYS_CDEject(SDL_CD *cdrom) 312 static int SDL_SYS_CDEject(SDL_CD *cdrom)
311 { 313 {
312 return SDL_SYS_CDioctl(cdrom->id, CDROMEJECT, 0); 314 return SDL_SYS_CDioctl(cdrom->id, CDROMEJECT, 0);
313 } 315 }
316
317 #endif /* SDL_CDROM_MINT */