If Darwin don't compile ALSA9 drivers

This commit is contained in:
Steve Checkoway
2003-04-26 01:15:45 +00:00
parent cc2d1aabb7
commit fbb6cb0e98
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -13,7 +13,7 @@
#include "arch_default.h"
/* Override them with arch-specific drivers, as available. */
#if defined(LINUX)
#if defined(LINUX) && !(defined DARWIN)
#include "arch_linux.h"
#elif defined(WIN32)
#include "arch_Win32.h"
@@ -55,7 +55,7 @@ RageSoundDriver *MakeRageSoundDriver(CString drivers)
if(!DriversToTry[i].CompareNoCase("DirectSound-sw")) ret = new RageSound_DSound_Software;
if(!DriversToTry[i].CompareNoCase("WaveOut")) ret = new RageSound_WaveOut;
#endif
#ifdef LINUX /* should use some define akin to HAS_ALSA9 */
#if defined(LINUX) && !defined(DARWIN) /* should use some define akin to HAS_ALSA9 */
if(!DriversToTry[i].CompareNoCase("ALSA9")) ret = new RageSound_ALSA9;
#endif
if(!DriversToTry[i].CompareNoCase("Null")) ret = new RageSound_Null;
+1 -1
View File
@@ -18,7 +18,7 @@ void MakeInputHandlers(vector<InputHandler *> &Add);
RageSoundDriver *MakeRageSoundDriver(CString drivers);
/* Define the default list of sound drivers for each arch. */
#if defined(LINUX)
#if defined(LINUX) && !defined(DARWIN)
#define DEFAULT_SOUND_DRIVER_LIST "ALSA9,Null"
#elif defined(WIN32)
#define DEFAULT_SOUND_DRIVER_LIST "DirectSound,DirectSound-sw,WaveOut"