From ec6039769cf445d2cb48eb4557e730becb5518ca Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Tue, 17 Feb 2004 00:24:56 +0000 Subject: [PATCH] Work around stupid #include bug. --- stepmania/src/RageFileDriverZip.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/stepmania/src/RageFileDriverZip.cpp b/stepmania/src/RageFileDriverZip.cpp index 1a7730881a..430a69ebde 100644 --- a/stepmania/src/RageFileDriverZip.cpp +++ b/stepmania/src/RageFileDriverZip.cpp @@ -66,6 +66,15 @@ freely, subject to the following restrictions: #if defined(_WINDOWS) || defined(_XBOX) #include "zlib/zlib.h" #pragma comment(lib, "zlib/zdll.lib") +#elif defined(DARWIN) + /* 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 + * this since crypto51 is not being listed as one of the include directories. + * I've never run into this problem before and looking at the command line + * used to compile RageFileDriverZip.o, I have no idea how it's happening. + * --Steve + */ + #include "/usr/include/zlib.h" #else #include #endif