Mercurial > SDL_sound_CoreAudio
diff decoders/voc.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/voc.c Mon Sep 24 23:32:29 2001 +0000 +++ b/decoders/voc.c Mon Sep 24 23:33:19 2001 +0000 @@ -37,6 +37,8 @@ * This file written by Ryan C. Gordon. (icculus@clutteredmind.org) */ +#if (defined SOUND_SUPPORTS_VOC) + #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -46,11 +48,6 @@ #define __SDL_SOUND_INTERNAL__ #include "SDL_sound_internal.h" -#if (!defined SOUND_SUPPORTS_VOC) -#error SOUND_SUPPORTS_VOC must be defined. -#endif - - static int VOC_init(void); static void VOC_quit(void); static int VOC_open(Sound_Sample *sample, const char *ext); @@ -484,6 +481,6 @@ return(v->bufpos); } /* VOC_read */ +#endif /* SOUND_SUPPORTS_VOC */ /* end of voc.c ... */ -