music.c
changeset 766 1e215d1f9492
parent 762 6c6adcc85536
child 770 74a0ac03a448
     1.1 --- a/music.c	Fri Oct 13 15:11:13 2017 -0400
     1.2 +++ b/music.c	Sat Oct 14 01:49:37 2017 -0700
     1.3 @@ -151,9 +151,7 @@
     1.4  static int num_decoders = 0;
     1.5  
     1.6  /* Semicolon-separated SoundFont paths */
     1.7 -#ifdef MID_MUSIC
     1.8  char* soundfont_paths = NULL;
     1.9 -#endif
    1.10  
    1.11  int Mix_GetNumMusicDecoders(void)
    1.12  {
    1.13 @@ -1601,7 +1599,6 @@
    1.14  
    1.15  int Mix_SetSoundFonts(const char *paths)
    1.16  {
    1.17 -#ifdef MID_MUSIC
    1.18      if (soundfont_paths) {
    1.19          SDL_free(soundfont_paths);
    1.20          soundfont_paths = NULL;
    1.21 @@ -1613,11 +1610,9 @@
    1.22              return 0;
    1.23          }
    1.24      }
    1.25 -#endif
    1.26      return 1;
    1.27  }
    1.28  
    1.29 -#ifdef MID_MUSIC
    1.30  const char* Mix_GetSoundFonts(void)
    1.31  {
    1.32      const char* force = getenv("SDL_FORCE_SOUNDFONTS");
    1.33 @@ -1665,4 +1660,3 @@
    1.34      else
    1.35          return 0;
    1.36  }
    1.37 -#endif