Mercurial > SDL_sound_CoreAudio
diff decoders/aiff.c @ 64:40006625142a
Changes in preparation of autoconf support.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Mon, 24 Sep 2001 23:33:19 +0000 |
parents | b13fafb976be |
children | 6d9fdec2f708 |
line wrap: on
line diff
--- a/decoders/aiff.c Mon Sep 24 23:32:29 2001 +0000 +++ b/decoders/aiff.c Mon Sep 24 23:33:19 2001 +0000 @@ -41,6 +41,8 @@ * This file was written by Torbjörn Andersson. (d91tan@Update.UU.SE) */ +#ifdef SOUND_SUPPORTS_AIFF + #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -53,10 +55,6 @@ #define __SDL_SOUND_INTERNAL__ #include "SDL_sound_internal.h" -#if (!defined SOUND_SUPPORTS_AIFF) -#error SOUND_SUPPORTS_AIFF must be defined. -#endif - static int AIFF_init(void); static void AIFF_quit(void); static int AIFF_open(Sound_Sample *sample, const char *ext); @@ -388,5 +386,7 @@ return(retval); } /* AIFF_read */ +#endif /* SOUND_SUPPORTS_AIFF */ + /* end of aiff.c ... */