comparison decoders/mod.c @ 100:6d9fdec2f708

added config.h, added --enable-debug flag, various other changes to the build system
author fingolfin
date Wed, 03 Oct 2001 12:25:34 +0000
parents 230f75fac1d1
children 103cfcb3c014
comparison
equal deleted inserted replaced
99:3f0beddfd9c9 100:6d9fdec2f708
27 * 27 *
28 * This file written by Torbjörn Andersson (d91tan@Update.UU.SE) 28 * This file written by Torbjörn Andersson (d91tan@Update.UU.SE)
29 */ 29 */
30 30
31 #ifdef SOUND_SUPPORTS_MOD 31 #ifdef SOUND_SUPPORTS_MOD
32
33 #define __SDL_SOUND_INTERNAL__
34 #include "SDL_sound_internal.h"
32 35
33 #include <stdio.h> 36 #include <stdio.h>
34 #include <stdlib.h> 37 #include <stdlib.h>
35 #include <string.h> 38 #include <string.h>
36 #include <assert.h> 39 #include <assert.h>
37 #include "SDL_sound.h" 40 #include "SDL_sound.h"
38 #include "mikmod.h" 41 #include "mikmod.h"
39 42
40 #define __SDL_SOUND_INTERNAL__
41 #include "SDL_sound_internal.h"
42 43
43 static int MOD_init(void); 44 static int MOD_init(void);
44 static void MOD_quit(void); 45 static void MOD_quit(void);
45 static int MOD_open(Sound_Sample *sample, const char *ext); 46 static int MOD_open(Sound_Sample *sample, const char *ext);
46 static void MOD_close(Sound_Sample *sample); 47 static void MOD_close(Sound_Sample *sample);