Mercurial > SDL_sound_CoreAudio
comparison decoders/modplug.c @ 495:d0d381a6f2bb stable-1.0
Look for modplug headers in both include path and include path + "libmodplug".
(thanks to Tyler for this one).
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 12 Oct 2005 22:13:34 +0000 |
parents | 53ce18591f5d |
children | 45ee760a6f5a |
comparison
equal
deleted
inserted
replaced
493:38b656ccd029 | 495:d0d381a6f2bb |
---|---|
44 #include "SDL_sound.h" | 44 #include "SDL_sound.h" |
45 | 45 |
46 #define __SDL_SOUND_INTERNAL__ | 46 #define __SDL_SOUND_INTERNAL__ |
47 #include "SDL_sound_internal.h" | 47 #include "SDL_sound_internal.h" |
48 | 48 |
49 #if SOUND_MODPLUG_IN_OWN_PATH | |
50 #include "libmodplug/modplug.h" | |
51 #else | |
49 #include "modplug.h" | 52 #include "modplug.h" |
50 | 53 #endif |
51 | 54 |
52 static int MODPLUG_init(void); | 55 static int MODPLUG_init(void); |
53 static void MODPLUG_quit(void); | 56 static void MODPLUG_quit(void); |
54 static int MODPLUG_open(Sound_Sample *sample, const char *ext); | 57 static int MODPLUG_open(Sound_Sample *sample, const char *ext); |
55 static void MODPLUG_close(Sound_Sample *sample); | 58 static void MODPLUG_close(Sound_Sample *sample); |