comparison src/cdrom/SDL_cdrom.c @ 1402:d910939febfa

Use consistent identifiers for the various platforms we support. Make sure every source file includes SDL_config.h, so the proper system headers are chosen.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 21 Feb 2006 08:46:50 +0000
parents c71e05b4dc2e
children 782fd950bd46 c121d94672cb a1b03ba2fcd0
comparison
equal deleted inserted replaced
1401:1819fd069e89 1402:d910939febfa
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 18
19 Sam Lantinga 19 Sam Lantinga
20 slouken@libsdl.org 20 slouken@libsdl.org
21 */ 21 */
22 #include "SDL_config.h"
22 23
23 /* This is the CD-audio control API for Simple DirectMedia Layer */ 24 /* This is the CD-audio control API for Simple DirectMedia Layer */
24 25
25 #include "SDL_cdrom.h" 26 #include "SDL_cdrom.h"
26 #include "SDL_syscdrom.h" 27 #include "SDL_syscdrom.h"
27 28
28 #if !defined(macintosh) 29 #if !defined(__MACOS__)
29 #define CLIP_FRAMES 10 /* Some CD-ROMs won't go all the way */ 30 #define CLIP_FRAMES 10 /* Some CD-ROMs won't go all the way */
30 #endif 31 #endif
31 32
32 static int SDL_cdinitted = 0; 33 static int SDL_cdinitted = 0;
33 static SDL_CD *default_cdrom; 34 static SDL_CD *default_cdrom;