commit 28cb8e96cabe2d87a86b5045c4d38dc81d9137ac
Author: Fabian Greffrath <fabian@greffrath.com>
AuthorDate: Sat Mar 16 09:10:39 2019 +0100
Commit: Fabian Greffrath <fabian@greffrath.com>
CommitDate: Sat Mar 16 09:10:39 2019 +0100
sound: CPP does not support lazy evaluation
The past few commits have been more like a CPP tutorial...
---
src/i_sdlmusic.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/i_sdlmusic.c b/src/i_sdlmusic.c
index af77912c..48c18187 100644
--- a/src/i_sdlmusic.c
+++ b/src/i_sdlmusic.c
@@ -194,10 +194,11 @@ static boolean I_SDL_InitMusic(void)
}
}
-#if defined(SDL_MIXER_VERSION_ATLEAST) && \
- SDL_MIXER_VERSION_ATLEAST(2,0,2)
+#if defined(SDL_MIXER_VERSION_ATLEAST)
+#if SDL_MIXER_VERSION_ATLEAST(2,0,2)
// Initialize SDL_Mixer for MIDI music playback
Mix_Init(MIX_INIT_MID);
+#endif
#endif
// Once initialization is complete, the temporary Timidity config