Mercurial > sdl-ios-xcode
diff src/audio/SDL_audiodev.c @ 94:ae6e6b73333f
Cleaned up the OpenBSD port, thanks to Peter Valchev
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Sun, 08 Jul 2001 09:00:06 +0000 |
parents | 74212992fb08 |
children | e8157fcb3114 |
line wrap: on
line diff
--- a/src/audio/SDL_audiodev.c Sat Jul 07 23:27:29 2001 +0000 +++ b/src/audio/SDL_audiodev.c Sun Jul 08 09:00:06 2001 +0000 @@ -39,7 +39,11 @@ #include "SDL_audiodev_c.h" #ifndef _PATH_DEV_DSP -#define _PATH_DEV_DSP "/dev/dsp" +#ifdef __OpenBSD__ +#define _PATH_DEV_DSP "/dev/audio" +#else +#define _PATH_DEV_DSP "/dev/dsp" +#endif #endif #ifndef _PATH_DEV_DSP24 #define _PATH_DEV_DSP24 "/dev/sound/dsp"