# HG changeset patch # User Sam Lantinga # Date 995857122 0 # Node ID 43febd46d49d201c652a4c4c4f2a28b3df5a7a95 # Parent ef15e2ff28a44a33aec48b2eeb8e0c2d9f44e50d Name changed from OBSD to OPENBSD_AUDIO diff -r ef15e2ff28a4 -r 43febd46d49d configure.in --- a/configure.in Sun Jul 22 23:45:42 2001 +0000 +++ b/configure.in Mon Jul 23 02:58:42 2001 +0000 @@ -301,7 +301,7 @@ [ --enable-openbsdaudio OpenBSD native audio support [default=yes]], , enable_openbsdaudio=yes) if test x$enable_audio = xyes -a x$enable_openbsdaudio = xyes; then - CFLAGS="$CFLAGS -DOBSD_SUPPORT" + CFLAGS="$CFLAGS -DOPENBSD_AUDIO_SUPPORT" AUDIO_SUBDIRS="$AUDIO_SUBDIRS openbsd" AUDIO_DRIVERS="$AUDIO_DRIVERS openbsd/libaudio_openbsd.la" fi diff -r ef15e2ff28a4 -r 43febd46d49d src/audio/SDL_audio.c --- a/src/audio/SDL_audio.c Sun Jul 22 23:45:42 2001 +0000 +++ b/src/audio/SDL_audio.c Mon Jul 23 02:58:42 2001 +0000 @@ -40,8 +40,8 @@ /* Available audio drivers */ static AudioBootStrap *bootstrap[] = { -#ifdef OBSD_SUPPORT - &OBSD_bootstrap, +#ifdef OPENBSD_AUDIO_SUPPORT + &OPENBSD_AUDIO_bootstrap, #endif #ifdef OSS_SUPPORT &DSP_bootstrap, diff -r ef15e2ff28a4 -r 43febd46d49d src/audio/SDL_sysaudio.h --- a/src/audio/SDL_sysaudio.h Sun Jul 22 23:45:42 2001 +0000 +++ b/src/audio/SDL_sysaudio.h Mon Jul 23 02:58:42 2001 +0000 @@ -99,8 +99,8 @@ SDL_AudioDevice *(*create)(int devindex); } AudioBootStrap; -#ifdef OBSD_SUPPORT -extern AudioBootStrap OBSD_bootstrap; +#ifdef OPENBSD_AUDIO_SUPPORT +extern AudioBootStrap OPENBSD_AUDIO_bootstrap; #endif #ifdef OSS_SUPPORT extern AudioBootStrap DSP_bootstrap; diff -r ef15e2ff28a4 -r 43febd46d49d src/audio/openbsd/SDL_openbsdaudio.c --- a/src/audio/openbsd/SDL_openbsdaudio.c Sun Jul 22 23:45:42 2001 +0000 +++ b/src/audio/openbsd/SDL_openbsdaudio.c Mon Jul 23 02:58:42 2001 +0000 @@ -131,7 +131,7 @@ return this; } -AudioBootStrap OBSD_bootstrap = { +AudioBootStrap OPENBSD_AUDIO_bootstrap = { OBSD_DRIVER_NAME, "Native OpenBSD audio", Audio_Available, Audio_CreateDevice };