shithub: choc

Download patch

ref: 9cb06ff1a67a75d361324b95b789eebea95379aa
parent: fabb8f598ebee1bec3c736f8556294ee57cbb6e5
author: Turo Lamminen <[email protected]>
date: Fri Oct 7 08:57:12 EDT 2022

Flip ifdefs around

The idiom with #ifndef/#define is special-cased by at least GCC to
skip processing the file if not necessary

--- a/src/i_winmusic.h
+++ b/src/i_winmusic.h
@@ -14,10 +14,10 @@
 // DESCRIPTION:
 //      Windows native MIDI
 
-#ifdef _WIN32
-
 #ifndef __I_WINMUSIC__
 #define __I_WINMUSIC__
+
+#ifdef _WIN32
 
 #include "doomtype.h"