diff decoders/skeleton.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/skeleton.c	Mon Sep 24 23:32:29 2001 +0000
+++ b/decoders/skeleton.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_FMT
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -38,10 +40,6 @@
 #define __SDL_SOUND_INTERNAL__
 #include "SDL_sound_internal.h"
 
-#if (!defined SOUND_SUPPORTS_FMT)
-#error SOUND_SUPPORTS_FMT must be defined.
-#endif
-
 
 static int FMT_init(void);
 static void FMT_quit(void);
@@ -135,6 +133,8 @@
     return(retval);
 } /* FMT_read */
 
+#endif /* SOUND_SUPPORTS_FMT */
+
 
 /* end of fmt.c ... */