From b4d007e6d644a15f2e2eb36aa89f6e85527686f6 Mon Sep 17 00:00:00 2001 From: Ben Anderson Date: Sun, 26 Jun 2005 03:45:25 +0000 Subject: [PATCH] Use _WINDOWS and _MSC_VER properly. Fixes MinGW compilation. --- stepmania/src/RageFileDriverDeflate.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stepmania/src/RageFileDriverDeflate.cpp b/stepmania/src/RageFileDriverDeflate.cpp index b989e4af32..52c6bcdc38 100644 --- a/stepmania/src/RageFileDriverDeflate.cpp +++ b/stepmania/src/RageFileDriverDeflate.cpp @@ -5,9 +5,11 @@ #include "RageLog.h" #include "RageUtil.h" -#if defined(_MSC_VER) || defined(_XBOX) +#if defined(_WINDOWS) || defined(_XBOX) #include "zlib/zlib.h" +#if defined(_MSC_VER) #pragma comment(lib, "zlib/zdll.lib") +#endif #elif defined(__MACOSX__) /* Since crypto++ was added to the repository, includes the zlib.h * in there rather than the correct system one. I don't know why it would do