Skip to content

Commit

Permalink
Fixed building with modplug support.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 4, 2010
1 parent dfe32da commit f589f66
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions configure.in
Expand Up @@ -315,6 +315,7 @@ dnl #include "modplug.h"
dnl ],[
dnl ],[
have_libmodplug=yes
SOURCES="$SOURCES $srcdir/music_modplug.c"
dnl ])
else
have_libmodplug=no
Expand Down
2 changes: 0 additions & 2 deletions music.c
Expand Up @@ -322,8 +322,6 @@ int open_music(SDL_AudioSpec *mixer)
#endif
#ifdef MODPLUG_MUSIC
if ( modplug_init(mixer) < 0 ) {
++music_error;
} else {
add_music_decoder("MODPLUG");
}
#endif
Expand Down

0 comments on commit f589f66

Please sign in to comment.