Mercurial > sdl-ios-xcode
diff src/cdrom/linux/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/linux/SDL_syscdrom.c Tue Feb 21 08:34:45 2006 +0000 +++ b/src/cdrom/linux/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 */ @@ -29,7 +30,7 @@ #include <fcntl.h> #include <errno.h> #include <unistd.h> -#ifdef __linux__ +#ifdef __LINUX__ #ifdef HAVE_LINUX_VERSION_H /* linux 2.6.9 workaround */ #include <linux/version.h>