commit b63dc8941ddde045b9d8b498d618452ea0846f42
Author: Alex Mayfield <alexmax2742@gmail.com>
AuthorDate: Tue Feb 21 20:29:55 2017 -0500
Commit: Alex Mayfield <alexmax2742@gmail.com>
CommitDate: Tue Feb 21 20:29:55 2017 -0500
Wrap midi_server_registered check in _WIN32
---
src/i_sdlmusic.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/i_sdlmusic.c b/src/i_sdlmusic.c
index 3f25a631..abcb1a97 100644
--- a/src/i_sdlmusic.c
+++ b/src/i_sdlmusic.c
@@ -1030,7 +1030,11 @@ static void I_SDL_PlaySong(void *handle, boolean looping)
return;
}
+#if defined(_WIN32)
if (handle == NULL && !midi_server_registered)
+#else
+ if (handle == NULL)
+#endif
{
return;
}