Mercurial > sdl-ios-xcode
diff src/cdrom/openbsd/SDL_syscdrom.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 | c0a74f199ecf |
children | 92947e3a18db |
line wrap: on
line diff
--- a/src/cdrom/openbsd/SDL_syscdrom.c Tue Feb 21 08:34:45 2006 +0000 +++ b/src/cdrom/openbsd/SDL_syscdrom.c Tue Feb 21 08:46:50 2006 +0000 @@ -19,6 +19,7 @@ Sam Lantinga slouken@libsdl.org */ +#include "SDL_config.h" /* Functions for system-level CD-ROM audio control */ @@ -131,9 +132,9 @@ int SDL_SYS_CDInit(void) { static char *checklist[] = { -#ifdef __OpenBSD__ +#if defined(__OPENBSD__) "?0 cd?c", "cdrom", NULL -#elif defined(__NetBSD__) +#elif defined(__NETBSD__) "?0 cd?d", "?0 cd?c", "cdrom", NULL #else "?0 cd?c", "?0 acd?c", "cdrom", NULL