--- TSC-git-92d74ff7f.old/cegui/cegui/src/MinizipResourceProvider.cpp +++ TSC-git-92d74ff7f/cegui/cegui/src/MinizipResourceProvider.cpp @@ -132,7 +132,7 @@ //----------------------------------------------------------------------------// void MinizipResourceProvider::closeArchive() { - if (unzClose(d_pimpl->d_zfile) != Z_OK) + if (unzClose(d_pimpl->d_zfile) != MZ_OK) { // do not throw an exception as this method is called from the destructor! if (CEGUI::Logger::getSingletonPtr()) @@ -183,7 +183,7 @@ "' error reading file header")); } - if (unzOpenCurrentFile(d_pimpl->d_zfile) != Z_OK) + if (unzOpenCurrentFile(d_pimpl->d_zfile) != MZ_OK) { CEGUI_THROW(FileIOException("'" + final_filename + "' error opening file")); --- TSC-git-92d74ff7f.old/cegui/cegui/src/MinizipResourceProvider.cpp +++ TSC-git-92d74ff7f/cegui/cegui/src/MinizipResourceProvider.cpp @@ -33,7 +33,8 @@ // exclude code on apple unless feature macro is defined. #if !defined(__APPLE__) || defined(CEGUI_HAS_MINIZIP_RESOURCE_PROVIDER) -#include "minizip/unzip.h" +#include +#include #include