mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 15:31:39 +00:00
8354026d8e
will integrate to build later. git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@400 af15c1b1-3010-417e-b628-4374ebc0bcbd
49 lines
1.3 KiB
C
49 lines
1.3 KiB
C
/*
|
|
cd_unix.h
|
|
Unix include file to compile the correct cdaudio code
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License
|
|
as published by the Free Software Foundation; either version 2
|
|
of the License, or (at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to:
|
|
|
|
Free Software Foundation, Inc.
|
|
59 Temple Place - Suite 330
|
|
Boston, MA 02111-1307, USA
|
|
|
|
*/
|
|
|
|
|
|
#ifndef __CD_UNIX_H
|
|
#define __CD_UNIX_H
|
|
|
|
#undef __USE_BSD_CDROM__
|
|
#undef __USE_LINUX_CDROM__
|
|
#undef __USE_SDL_CDROM__
|
|
|
|
#if defined (WITH_SDLCD)
|
|
/* This means that the makefile is edited for USE_SDLCD */
|
|
# define __USE_SDL_CDROM__ 1
|
|
#elif defined (__linux) || defined (__linux__)
|
|
# define __USE_LINUX_CDROM__ 1
|
|
#elif defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__NetBSD__)
|
|
# define __USE_BSD_CDROM__ 1
|
|
#else /* elif defined (SDLQUAKE) */
|
|
# define __USE_SDL_CDROM__ 1
|
|
/*
|
|
#else
|
|
# error "no cdaudio module defined. edit cd_unix.h or your makefile.."
|
|
*/
|
|
#endif
|
|
|
|
#endif /* __CD_UNIX_H */
|
|
|