# HG changeset patch # User Ryan C. Gordon # Date 1002132925 0 # Node ID 706ec5842737511f08761027a488d7fce0fc7a65 # Parent 72502bed0aef04d6c0d154e243b076910a2e8dc1 Updated for autoconf change, and placed #error messages so people don't build this file. diff -r 72502bed0aef -r 706ec5842737 decoders/skeleton.c --- 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 #include #include #include -#include "SDL_sound.h" - static int FMT_init(void); static void FMT_quit(void);