diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-14 13:24:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-14 13:24:42 +0300 |
commit | e648823e49474bc244c2d78998e40a121fa11658 (patch) | |
tree | b54719b322e8f0fd32b79ec5adbf3c712dcc882f | |
parent | c1e5e2e9ef1d2a278adb7f08446700f63bbead10 (diff) | |
download | mv-e648823e49474bc244c2d78998e40a121fa11658.tar.gz mv-e648823e49474bc244c2d78998e40a121fa11658.tar.bz2 mv-e648823e49474bc244c2d78998e40a121fa11658.tar.xz mv-e648823e49474bc244c2d78998e40a121fa11658.zip |
fix compilation in windows.
-rw-r--r-- | src/resources/sdlmusic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |