shithub: choc

Download patch

ref: 0d58805969232932d11de2a0935dbb61208b5f9a
parent: 0b8c63530f113a7fd92cbe3f54539f33c2cf095b
author: Roman Fomin <rfomin@gmail.com>
date: Thu Oct 28 09:44:09 EDT 2021

add _WIN32 defines to i_winmusic.h

--- a/src/i_winmusic.h
+++ b/src/i_winmusic.h
@@ -14,6 +14,8 @@
 // DESCRIPTION:
 //      Windows native MIDI
 
+#ifdef _WIN32
+
 #ifndef __I_WINMUSIC__
 #define __I_WINMUSIC__
 
@@ -28,5 +30,7 @@
 void I_WIN_ShutdownMusic(void);
 
 extern boolean win_midi_stream_opened;
+
+#endif
 
 #endif