From 58f0d4546515ab6c412efdff0d191d5eec27c4b9 Mon Sep 17 00:00:00 2001 From: Ben Anderson Date: Sun, 26 Jun 2005 03:51:38 +0000 Subject: [PATCH] Add comments to confusing #if block; use _WINDOWS and _MSC_VER properly (fixes MinGW compilation) --- stepmania/src/RageSoundReader_MP3.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/stepmania/src/RageSoundReader_MP3.cpp b/stepmania/src/RageSoundReader_MP3.cpp index 0a92f91416..a72541df76 100644 --- a/stepmania/src/RageSoundReader_MP3.cpp +++ b/stepmania/src/RageSoundReader_MP3.cpp @@ -8,20 +8,22 @@ #include #include -#ifdef _MSC_VER +#ifdef _WINDOWS #include "mad-0.15.1b/mad.h" +#ifdef _MSC_VER #ifdef _XBOX #ifdef _DEBUG #pragma comment(lib, "mad-0.15.1b/xboxmad/debug/xboxmad.lib") #else #pragma comment(lib, "mad-0.15.1b/xboxmad/Release/xboxmad.lib") -#endif +#endif // _DEBUG #else #pragma comment(lib, "mad-0.15.1b/msvc++/Release/libmad.lib") -#endif +#endif // _XBOX +#endif //_MSC_VER #else #include -#endif +#endif // _WINDOWS /* ID3 code from libid3: */ enum tagtype {