From e648823e49474bc244c2d78998e40a121fa11658 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 14 Sep 2013 13:24:42 +0300 Subject: fix compilation in windows. --- src/resources/sdlmusic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/sdlmusic.cpp') diff --git a/src/resources/sdlmusic.cpp b/src/resources/sdlmusic.cpp index ef8ebb56d..1a6bb7020 100644 --- a/src/resources/sdlmusic.cpp +++ b/src/resources/sdlmusic.cpp @@ -41,7 +41,7 @@ Resource *SDLMusic::load(SDL_RWops *const rw) { #ifdef USE_SDL2 if (Mix_Music *const music = Mix_LoadMUSType_RW(rw, MUS_OGG, 1)) -#elif defined ANDROID +#elif defined(WIN32) || defined ANDROID // +++ here probably mem leak if (Mix_Music *const music = Mix_LoadMUS_RW(rw)) #else -- cgit v1.2.3-70-g09d2