comparison 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
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 /* Functions for system-level CD-ROM audio control */ 24 /* Functions for system-level CD-ROM audio control */
24 25
25 #include <sys/types.h> 26 #include <sys/types.h>
26 #include <sys/ioctl.h> 27 #include <sys/ioctl.h>
129 } 130 }
130 131
131 int SDL_SYS_CDInit(void) 132 int SDL_SYS_CDInit(void)
132 { 133 {
133 static char *checklist[] = { 134 static char *checklist[] = {
134 #ifdef __OpenBSD__ 135 #if defined(__OPENBSD__)
135 "?0 cd?c", "cdrom", NULL 136 "?0 cd?c", "cdrom", NULL
136 #elif defined(__NetBSD__) 137 #elif defined(__NETBSD__)
137 "?0 cd?d", "?0 cd?c", "cdrom", NULL 138 "?0 cd?d", "?0 cd?c", "cdrom", NULL
138 #else 139 #else
139 "?0 cd?c", "?0 acd?c", "cdrom", NULL 140 "?0 cd?c", "?0 acd?c", "cdrom", NULL
140 #endif 141 #endif
141 }; 142 };