changeset 121:43febd46d49d

Name changed from OBSD to OPENBSD_AUDIO
author Sam Lantinga <slouken@libsdl.org>
date Mon, 23 Jul 2001 02:58:42 +0000
parents ef15e2ff28a4
children 8f33e95b43b6
files configure.in src/audio/SDL_audio.c src/audio/SDL_sysaudio.h src/audio/openbsd/SDL_openbsdaudio.c
diffstat 4 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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,
--- 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;
--- 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
 };