summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/sdlmusic.cpp2
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