Mercurial > SDL_sound_CoreAudio
diff decoders/mp3.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 | 25e515dfa18d |
line wrap: on
line diff
--- a/decoders/mp3.c Mon Sep 24 23:32:29 2001 +0000 +++ b/decoders/mp3.c Mon Sep 24 23:33:19 2001 +0000 @@ -29,6 +29,8 @@ * This file written by Ryan C. Gordon. (icculus@clutteredmind.org) */ +#ifdef SOUND_SUPPORTS_MP3 + #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -41,10 +43,6 @@ #define __SDL_SOUND_INTERNAL__ #include "SDL_sound_internal.h" -#if (!defined SOUND_SUPPORTS_MP3) -#error SOUND_SUPPORTS_MP3 must be defined. -#endif - static int MP3_init(void); static void MP3_quit(void); @@ -223,5 +221,7 @@ return(retval); } /* MP3_read */ +#endif /* SOUND_SUPPORTS_MP3 */ + /* end of mp3.c ... */