music.c
changeset 840 90e3ffcfea04
parent 839 7fa15b556953
child 848 3907db698eb5
     1.1 --- a/music.c	Tue Oct 24 21:41:50 2017 -0700
     1.2 +++ b/music.c	Wed Oct 25 06:47:17 2017 -0700
     1.3 @@ -42,6 +42,11 @@
     1.4  #include "music_flac.h"
     1.5  #include "native_midi/native_midi.h"
     1.6  
     1.7 +/* Check to make sure we are building with a new enough SDL */
     1.8 +#if SDL_COMPILEDVERSION < SDL_VERSIONNUM(2, 0, 7)
     1.9 +#error You need SDL 2.0.7 or newer from http://www.libsdl.org
    1.10 +#endif
    1.11 +
    1.12  /* Set this hint to true if you want verbose logging of music interfaces */
    1.13  #define SDL_MIXER_HINT_DEBUG_MUSIC_INTERFACES \
    1.14      "SDL_MIXER_DEBUG_MUSIC_INTERFACES"