Mercurial > SDL_sound_CoreAudio
diff decoders/mod.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 | 6252979e2453 |
line wrap: on
line diff
--- a/decoders/mod.c Mon Sep 24 23:32:29 2001 +0000 +++ b/decoders/mod.c Mon Sep 24 23:33:19 2001 +0000 @@ -29,6 +29,8 @@ * This file written by Torbjörn Andersson (d91tan@Update.UU.SE) */ +#ifdef SOUND_SUPPORTS_MOD + #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -39,10 +41,6 @@ #define __SDL_SOUND_INTERNAL__ #include "SDL_sound_internal.h" -#if (!defined SOUND_SUPPORTS_MOD) -#error SOUND_SUPPORTS_MOD must be defined. -#endif - static int MOD_init(void); static void MOD_quit(void); static int MOD_open(Sound_Sample *sample, const char *ext); @@ -266,6 +264,8 @@ return((Uint32) VC_WriteBytes(internal->buffer, internal->buffer_size)); } /* MOD_read */ +#endif /* SOUND_SUPPORTS_MOD */ + /* end of mod.c ... */