changeset 103:706ec5842737

Updated for autoconf change, and placed #error messages so people don't build this file.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 03 Oct 2001 18:15:25 +0000
parents 72502bed0aef
children 103cfcb3c014
files decoders/skeleton.c
diffstat 1 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/decoders/skeleton.c	Wed Oct 03 18:01:15 2001 +0000
+++ b/decoders/skeleton.c	Wed Oct 03 18:15:25 2001 +0000
@@ -29,17 +29,22 @@
  *  This file written by Ryan C. Gordon. (icculus@clutteredmind.org)
  */
 
-#ifdef SOUND_SUPPORTS_FMT
+#error DO NOT COMPILE THIS.
+#error  This is an example decoder skeleton.
+#error  You should base your code on this file, and remove these error lines
+#error  from your version.
+
+#include "SDL_sound.h"
 
 #define __SDL_SOUND_INTERNAL__
 #include "SDL_sound_internal.h"
 
+#ifdef SOUND_SUPPORTS_FMT
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <assert.h>
-#include "SDL_sound.h"
-
 
 static int FMT_init(void);
 static void FMT_quit(void);