From 02aca6e3bd987cdafae2684d533774a1eaba3e93 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 23 Jul 2001 02:58:42 +0000 Subject: [PATCH] Name changed from OBSD to OPENBSD_AUDIO --- configure.in | 2 +- src/audio/SDL_audio.c | 4 ++-- src/audio/SDL_sysaudio.h | 4 ++-- src/audio/openbsd/SDL_openbsdaudio.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.in b/configure.in index 0676fc195..243850f6b 100644 --- a/configure.in +++ b/configure.in @@ -301,7 +301,7 @@ CheckOPENBSDAUDIO() [ --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 --git a/src/audio/SDL_audio.c b/src/audio/SDL_audio.c index d7311c5bc..c8290cdf4 100644 --- a/src/audio/SDL_audio.c +++ b/src/audio/SDL_audio.c @@ -40,8 +40,8 @@ static char rcsid = /* 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 --git a/src/audio/SDL_sysaudio.h b/src/audio/SDL_sysaudio.h index 28a50de62..eff01afa6 100644 --- a/src/audio/SDL_sysaudio.h +++ b/src/audio/SDL_sysaudio.h @@ -99,8 +99,8 @@ typedef struct AudioBootStrap { 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 --git a/src/audio/openbsd/SDL_openbsdaudio.c b/src/audio/openbsd/SDL_openbsdaudio.c index 33fbd6df0..9ac7db93a 100644 --- a/src/audio/openbsd/SDL_openbsdaudio.c +++ b/src/audio/openbsd/SDL_openbsdaudio.c @@ -131,7 +131,7 @@ static SDL_AudioDevice return this; } -AudioBootStrap OBSD_bootstrap = { +AudioBootStrap OPENBSD_AUDIO_bootstrap = { OBSD_DRIVER_NAME, "Native OpenBSD audio", Audio_Available, Audio_CreateDevice };