Exclude MinGW headers from source/project files on non-MinGW platforms

This commit is contained in:
Jonathan G Rennison
2019-04-11 21:05:36 +01:00
parent 1c7b454a57
commit 5c1168603d
9 changed files with 8 additions and 52 deletions

View File

@@ -136,6 +136,7 @@ load_main_data() {
if ($0 == "WIN32" && "'$os'" != "MINGW" &&
"'$os'" != "CYGWIN" && "'$os'" != "MSVC" ) { next; }
if ($0 == "MSVC" && "'$os'" != "MSVC") { next; }
if ($0 == "MINGW" && "'$os'" != "MINGW") { next; }
if ($0 == "DIRECTMUSIC" && "'$enable_directmusic'" != "1") { next; }
if ($0 == "FLUIDSYNTH" && "'$enable_fluidsynth'" != "1") { next; }
if ($0 == "USE_XAUDIO2" && "'$with_xaudio2'" == "0") { next; }